Topic "WinScp Not Stopping When Error Occurs and exiting instead"

Author Message
DWVZ2000
[View user's profile]

Joined: 2015-07-27
Posts: 7
Location: USA
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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
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
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License