Re: Get & Put with WinSCP
I'd like to move files fromC:\Jobs\AF_SYNC\
and put them in a remote FTP folder. Once uploaded I'd like to delete the file from theC:\Jobs\AF_SYNC\
.
Just do
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 localC:\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:
https://winscp.net/eng/docs/guide_automation#generating
See also: