Start here:
https://winscp.net/eng/docs/guide_automation
With the latest RC release, you can have WinSCP generate the script or batch file for you:
https://winscp.net/eng/docs/ui_generateurl
https://winscp.net/eng/docs/guide_automation
With the latest RC release, you can have WinSCP generate the script or batch file for you:
https://winscp.net/eng/docs/ui_generateurl