Re: How to stop a script from prompting
                You urgently need to upgrade, no matter what.
In the latest version, you won't get overwrite prompt.
Anyway, you can add
https://winscp.net/eng/docs/scriptcommand_option
        In the latest version, you won't get overwrite prompt.
Anyway, you can add
option confirm off command at the beginning of your WinSCP command list.
https://winscp.net/eng/docs/scriptcommand_option