How I can save the save fillers if I am not the host? Like download the save file from all players of my game?
Jun 26 2016, 8:34 pm
|
|
You could use the ftp() proc to allow the download of individual files.
|
In response to Nadrew
|
|
hi can you give a example plz? if I do that it will be correct?
ftp("Savefiles/")
|
I'm not sure it's possible to download a whole directory at once with ftp(), but you could use something like Dantom.zipfile to package the files into a zip file and download that with ftp().
|
In response to Nadrew
|
|
how zipfile would work? I saw the source but there dont has to many comented things or a demo :/
|
var/zipfile/my_zip = new("my_zip.zip") |
In response to Nadrew
|
|
I tried to many time using ftp to download the zip but it dont works I belive.
usr << ftp(my_zip) Or it downloads and dont show me where. |
Have you made sure the file is being created properly? It would be:
src << ftp("my_zip.zip")
You don't really seem to grasp a few basic concepts of the language and I have to highly recommend reading over the guide a little bit before diving into anything too major for a project. |
In response to Nadrew
|
|
Thaanks again, I just did not had knowledge about how it work.Last thing ,for remove I tried to do the same thing of import my_zip.Remove("my_zip.zip") but still not work :/ I meant for remove from the original folder and still the download folder
|