Posted: 2014-11-04 19:15
For some reason when my network drops my script will not abort.
Heres the command:
"%~dp0\winscp.exe" /console /script="script.txt"
and the script.txt:
option batch abort
option confirm off
When i pull my network cable(to test for network drop) I get:
The requested name is valid, but no data of the requested type was found.
(A)bort, (R)econnect (5 s):
(A)bort, (R)econnect (0 s): Reconnect
It will continue to try and reconnect indefinitely.
Why doesn't the script auto abort? I am using option batch abort. Am I missing something ?
Location: Prague, Czechia
Your duplicate question on StackOverflow:
You can post new topics in this forum
And it's free!