FTP--full dir download need help pls.

Hy All.
I have a directory on a server. I have FTP access, (with Graham’s ftp helper) and my problem is: i want to download a directory with full content. ( i mean, the server have a directory, and i need to copy to the phone) Because, after i need to list the directory (with lfs) and use some files from the dir, and the LFS use only the system. directory-s…So, with this FTP session, how can i download a full directory with all contents, and save locally with the same names of the files?

Thank you so much all of the helps…in advance…
[import]uid: 154692 topic_id: 33059 reply_id: 333059[/import]

corona ships with luasocket which comes with ftp support I think.
have a gander at
http://w3.impa.br/~diego/software/luasocket/old/luasocket-2.0-beta/ftp.html

nb your app will need to have permissions to modify files on your device so that you can create your own folder on the sdcard to store the files you download.
[import]uid: 74338 topic_id: 33059 reply_id: 131315[/import]

corona ships with luasocket which comes with ftp support I think.
have a gander at
http://w3.impa.br/~diego/software/luasocket/old/luasocket-2.0-beta/ftp.html

nb your app will need to have permissions to modify files on your device so that you can create your own folder on the sdcard to store the files you download.
[import]uid: 74338 topic_id: 33059 reply_id: 131315[/import]

Dear O,

to have a perm. is not a problem. The main thing is, i have a mac server. From phones, sometimes are coming uploaded files to this separated folder. The other phones have to check the folder, and when it is a file, what is a new file, then have to refresh the full content, means download the full folder to a local folder, and after i can use the lfs to do anything with the files. (I want to check the online status for other users, with some other details, what include the uploaded file, this is why i need a file to download.) So, thank you for your answer, i check it now…

Ok, so the general problem is for me: to download any files step-by-step is working fine.( Open a FTP prot., dowload or upload any file, etc…) The only thing is what not working: download a complete folder, include the files inside. The files are changing in the folder, so i don’t know the number and the name of the files, this is why i want to get the full folder. if i use to give a path without a filename, not working. If i use *.*, not working. So this is what i search… [import]uid: 154692 topic_id: 33059 reply_id: 131392[/import]

Dear O,

to have a perm. is not a problem. The main thing is, i have a mac server. From phones, sometimes are coming uploaded files to this separated folder. The other phones have to check the folder, and when it is a file, what is a new file, then have to refresh the full content, means download the full folder to a local folder, and after i can use the lfs to do anything with the files. (I want to check the online status for other users, with some other details, what include the uploaded file, this is why i need a file to download.) So, thank you for your answer, i check it now…

Ok, so the general problem is for me: to download any files step-by-step is working fine.( Open a FTP prot., dowload or upload any file, etc…) The only thing is what not working: download a complete folder, include the files inside. The files are changing in the folder, so i don’t know the number and the name of the files, this is why i want to get the full folder. if i use to give a path without a filename, not working. If i use *.*, not working. So this is what i search… [import]uid: 154692 topic_id: 33059 reply_id: 131392[/import]