Re: more information
You can use /command instead of /script to provide your script commands to WinSCP as command-line arguments rather than via script file.
https://winscp.net/eng/docs/scripting#using_scripting
https://winscp.net/eng/docs/scripting#using_scripting