SkatCh Posted August 28, 2014 Share Posted August 28, 2014 guys i have a question , what's the best way to decrease my server size . Link to comment
xXMADEXx Posted August 28, 2014 Share Posted August 28, 2014 Use the downloadFile function, or my http mod loader resource. Link to comment
SkatCh Posted August 29, 2014 Author Share Posted August 29, 2014 sorry i read it all but i don't undrestand exactll what i need to do can u help me with simple steps example i want or download xXMADEXx.dff . 1- first i need to add download to the meta.xml like this : (true it means it will dowload it on resource start right). "xXMADEXx.dff" download="true"/> 2- after i add it to meta.xml what i need to do i think i need to delete the file from the resource folder right then i need to upload it to HTTP server Link to comment
Anubhav Posted August 29, 2014 Share Posted August 29, 2014 1. Meta.xml <file src="xXMADEXx.dff" download="false"/> 2. No need to do delete, just use: downloadFile('xXMADEXx.dff') And use the event onClientFileDownloadComplete to check if its completed. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now