Using Script to Copy Files from Remote FTP to Local - Only Want New Files Starting From Today
I am trying to use the WinSCP.com script to download files from a remote FTP site.
The remote site has old files that have not been removed and I do not want to grab these files. I want to set this up as an automated to process to run multiple times a day and check for any new files that were added within a day from the time of the script running.
I have been trying to comb through the documentation but still have not been able to find what I am looking for.
My script so far looks like this:
"C:\Program Files (x86)\WinSCP\WinSCP.com" CooperSFTP /command "synchronize local -filemask=">=today" E:\Cooper\SRO\ /caso/outbound/SRO" exit
Please bare with me as I am new to scripting with WinSCP and scripting in general. Can anyone try and point me in the right direction of what changes I would need to make?