Downloading non-existent files from an FTP server

Advertisement

roraqeni
Joined:
Posts:
1
Location:
Manchester, UK

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:
"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"
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.

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum