Currently we do all this in the WinSCP GUI, but I would like to automate this process, and I have got it to where I can pull the files without trouble using a batch file and Task Scheduler, but I have a problem:
I don't know how to move files on the remote server into the Archive folder to show them we have retrieved these.
This is the text file I have set up so far, which is called by the .bat file by Task Scheduler.
option batch on
option confirm off
get -resume *.txt "\\Local-srv\Secure$\Downloads\XYZ\"
get -resume *.xlsx "\\Local-srv\Secure$\Downloads\XYZ\"
Any ideas how I would move a wildcard file to a directory under root on the source server?