Re: Automation of downloading script
There's no red color in your post, so I do not know which files you want to download.
Anyway, the command-line would be like (with WinSCP 5.7.1):
Note that I added a
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
Anyway, 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