Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: WinScp Not Stopping When Error Occurs and exiting instead

Since 5.6, the commands, specified in a script file or on a command-line, run in a "batch" mode.

To revert to (previously default) interactive mode, use option batch off command.

See https://winscp.net/eng/docs/scriptcommand_option
DWVZ2000

WinScp Not Stopping When Error Occurs and exiting instead

I am using Winscp Version 5.7.4. When I run a script that opens a black screen and runs the Winscp commands, when an error occurs such as "File not found", the window closes and exits. When I was running Version 5.5.6 and an error would occur the window stayed open so I could see exactly what the problem was. In version 5.7.4 even if there is a message that says "Abort, Retry, Skip, or Skip All" the program still closes and exits instead of staying on the screen. I would like to stay on the screen to view the code and error messages so I can debug the script. I am running the command through a Macro in MS Access.

Thanks for any help you can provide.
David