in reply to XMD5 and Net::FTP

Have you checked out the Methods for the adventurous section of Net::FTP's documentation?

From that section, it describes the quot() method as: "Send a command, that Net::FTP does not directly support, to the remote server and wait for a response." This sounds like what you're needing to do. Might also want to pay attention to warning noted in the documentation for this method.

Replies are listed 'Best First'.
Re^2: XMD5 and Net::FTP
by james28909 (Deacon) on Oct 13, 2014 at 21:37 UTC
    awesome, and no i did not see that section. looks promising tho, and would work great to only upload if files md5 has changed. this would work great for smaller files, but on bigger files there would need to be some other way like rsync. but i am not to sure if that would work on an FTP server.

    just sent command XMD5 <filename> and it returned correct md5 so looks like this will work out great. i just need to get a list of directories and filenames and push that to an array, then i can do a foreach loop on each file and see if it exists on the server. if not then upload it. then after that i can set it up to add any new files or check md5 of existing files. and upload where appropriate. this will be awesome as a poor mans dropbox lol