Re: bat file not running - WinSCP
Start with these hints:
https://winscp.net/eng/docs/troubleshooting#scripting
https://winscp.net/eng/docs/troubleshooting#scripting
option batch abort
option confirm off
open sftp://xxxxx:xxxx@xxxx.com/ -hostkey="ssh-rsa xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx"
get -filemask="*>=%TIMESTAMP#yyyy-mm-dd%" /source/*.zip C:\Input\Input\
exit
"C:\Program Files (x86)\WinSCP\WinSCP.exe" -script=C:\myfolder\test.txt