[H]F,
I am automating an FTP routine for moving files from one machine to another. After individual uploads complete the files are deleted from the source machine (limited hd space).
Essentially I want to perform a move function via the FTP protocol that has a md5 checksum feature for verification.
How would you guys tackle this? Nothing turnkey really standouts from my google queries.
You "know":
You do NOT know
Some psuedo code
I am automating an FTP routine for moving files from one machine to another. After individual uploads complete the files are deleted from the source machine (limited hd space).
Essentially I want to perform a move function via the FTP protocol that has a md5 checksum feature for verification.
How would you guys tackle this? Nothing turnkey really standouts from my google queries.
You "know":
- the ftp address,
- login information
- destination root path
You do NOT know
- server side OS
- the nested folder & file structure of the source directory
Some psuedo code
- files and folders in a specific directory need to be uploaded to my offsite server
- each file uploaded must be checksum verfied that upload was successful
- if successful, delete the file from source machine
- else delete the file that was originally uploaded
- move on to next file (to try again later)
Last edited: