Re: No Error Code if SFTP fails to Connect in Script
Hi Martin,
After a closer look at my script, I found that I had two syntax errors on the one line so the script worked if there was a successful connection.
After making the corrections, I changed the desitnation IP address to produce a connection timeout. WinSCP now produces the correct errorlevel 1 on a failed connection.
Sorry to have bugged you.
Regards,
Dave
After a closer look at my script, I found that I had two syntax errors on the one line so the script worked if there was a successful connection.
After making the corrections, I changed the desitnation IP address to produce a connection timeout. WinSCP now produces the correct errorlevel 1 on a failed connection.
Sorry to have bugged you.
Regards,
Dave