Re: Simple example to upload the files
For a general guide to scripting, see:
https://winscp.net/eng/docs/guide_automation
Regarding the password: You can use parametrized script:
https://winscp.net/eng/docs/scripting#syntax
Note that
Or you can provide all commands, including password, directly on WinSCP command-line.
https://winscp.net/eng/docs/guide_automation
Regarding the password: You can use parametrized script:
https://winscp.net/eng/docs/scripting#syntax
Note that
%1%
syntax.
Or you can provide all commands, including password, directly on WinSCP command-line.