lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hello lua,

(also posted on the forum, as I just joined the mailing list. I apologize for the double post)

I want to upload a specified folder to a remote locatin through FTP. But there are two things I don't know how to do in/with Lua:
1) Obtain the listing of a given folder, to know what files to upload
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.

Any suggestions? (Links to documentation, code snippets etc)

-- 
Theodor-Iulian Ciobanu
jr Virus Researcher

e-mail: tciobanu@bitdefender.com

-----------------------------------------
Secure your every bit
-----------------------------------------



-- 
This message was scanned for spam and viruses by BitDefender.
For more information please visit http://www.bitdefender.com/