1
1
I have been trying to run a task scheduler named "Backup" that downloads the specified file from the FTP server to my local directory.
When I executed the command manually from the winscp console it worked but did not work in task scheduler. I have no errors shown but it gives a 0x1 code and in the history says
Task Scheduler successfully finished "{152e054b-1562-4544-af06-d6c75f9e97b1}" instance of the "\Backup" task for user "domain\user".
The script action was:
Program/script: C:\Users\ID\WinSCP\WinSCP.exe
Add arguments (optional): /command "winscp /script =C:\myScripts\testScript.txt"