I need to script an hourly process for SFTP.
SFTP Scripting
I need to schedule a push process and a pull process every hour
- Loop (Multiple sites to pull from)
- I need to pull all files in a directory (# of files is variable from 0-n)
- I need to verify their download (no error(s))
- I need to delete all files in the source directory after verification of download
- I need to log the files received and the time
- end loop
- Loop (Multiple directories to push from)
- I need to push all files in a directory (# of files is variable from 0-n)
- I need to verify their upload (no error(s))
- I need to move the pushed files to a new directory
- I need to log the files sent, moved, and the times
- end loop
Is Core FTP capable of doing this? If I were running this from an older Windows 2003 Server, would a combination of batch files and scripting with Core FTP satisfy the above conditions? What other suggestions might I consider to get the above conditions met?
Thanks.
esm3x