|
|
||
|
1) Obtain the listing of a given folder, to know what files to upload
use lhf's lposix implementation. http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/5.0/lposix.tar.gz
2) Create a folder on the remote system using. I know the FTP command for this is MKD, it returns 257 on succesul creation of the folder. I did try something with LuaSocket, but it didn't work.
read ftp.lua in the Lua socket package. DB