winscp.com: Network timeout error with errorlevel 0
Hello,
I execute
and expected - because the host is off - an errorlevel 1. I get the network timeout error, but an errorlevel 0:
I'm using WinSCP.com, Version 5.6.1 (Build 4547) on Windows 7 64bit
Thanks, sincerely, Guido
I execute
winscp.com /command "option batch abort" "option confirm off" "option echo on" "open scp://root:root@radio" "bye" & echo *** Errorlevel %ERRORLEVEL%
and expected - because the host is off - an errorlevel 1. I get the network timeout error, but an errorlevel 0:
batch abort reconnecttime 120 confirm off echo on open scp://root***@radio-maeuse Searching for host... Network error: Connection to "radio-maeuse" timed out. *** Errorlevel 0
I'm using WinSCP.com, Version 5.6.1 (Build 4547) on Windows 7 64bit
Thanks, sincerely, Guido