Re: Import command syntax to be used in Windows7 Task Scheduler
Thank you, Martin, for your reply. Will try it, and let you know.
Regards,
pb
the command-line would be like (with WinSCP 5.7.1):
/log="c:\path\winscp.log" /command "open sftp://<user>:<password>@<website.com>" "get ""/Folder 3/*.txt"" ""c:\<local_filename.txt>""" "exit"
Note that I added a /log switch, so that you can inspect the log, if you still have problems.
References:
https://winscp.net/eng/docs/guide_automation
https://winscp.net/eng/docs/guide_schedule
https://winscp.net/eng/docs/scriptcommand_get
https://winscp.net/eng/docs/commandline#logging
Regards,
pb
the command-line would be like (with WinSCP 5.7.1):
/log="c:\path\winscp.log" /command "open sftp://<user>:<password>@<website.com>" "get ""/Folder 3/*.txt"" ""c:\<local_filename.txt>""" "exit"
Note that I added a /log switch, so that you can inspect the log, if you still have problems.
References:
https://winscp.net/eng/docs/guide_automation
https://winscp.net/eng/docs/guide_schedule
https://winscp.net/eng/docs/scriptcommand_get
https://winscp.net/eng/docs/commandline#logging