Downloading non-existent files from an FTP server
I only want to download files that have not previously been downloaded from the FTP server. I am currently using WinSCP. I don't want to go to the console and write code as I want to automate the process in the future. My current code looks like this:
This code simply opens a session in the console.
Please suggest changes that automatically transfer files without having to consolidate and enter the code manually.
Thank you.
"C:\Program Files (x86)\WinSCP\WinSCP.com"/command ^ "open ftp://rnan:J13@Files8.cyberlynk.net/kgptel/" ^ "lcd \D C:\Users\rnan\Desktop\Batch Files" ^ "get -latest *" ^ "exit"
Please suggest changes that automatically transfer files without having to consolidate and enter the code manually.
Thank you.