Script will no Abort using Option Batch Abort
For some reason when my network drops my script will not abort.
Heres the command:
and the script.txt:
When i pull my network cable(to test for network drop) I get:
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 ?
Heres the command:
"%~dp0\winscp.exe" /console /script="script.txt" exit
and the script.txt:
option batch abort option confirm off open ftp://user:pass@ftp.site.com/ cd /directory/ synchronize local exit
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. Connection failed. (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 ?