Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

tanmaysensei@...

Scripting issue through Task Scheduler

I have created a script which when manually run works fine, but when done through windows Task Scheduler it gives an error. Please help.

PFB script.

Batch file script:
"C:\Program Files (x86)\WinSCP\winscp.com" /script=scripttosyncremotetolocal.txt
pause

Main script:
option batch abort
option confirm off
open sftp://...(Our proper server details)...
get -latest /file1/file2/* "D:\file3\*"
exit