I'd like to move files from "C:\Jobs\AF_SYNC\" and put them in a remote FTP folder. Once uploaded I'd like to delete the file from the "C:\Jobs\AF_SYNC\".
put -delete "C:\Jobs\AF_SYNC\*" "/remote/path/"
In addition I'd like to automate a get or sync between a remote FTP folder and a local "C:\Jobs\AF_INPUT\" directory. Is there a way to script this out in WINSCP then save as a batch file that I can schedule?
WinSCP can generate a script template: