Re: upload a file dont work
How do you run this?
The above is not .bat (batch file), it's WinSCP script.
You have to run it using
winscp.com, like:
winscp.com /script=upload.txt
Where the
upload.txt is your ".bat script".
See also https://winscp.net/eng/docs/guide_automation