Qustion regarding robustness of batch script
Hi there,
we are using a batch file like this:
When we run that in batch mode using winscp.com and if the transfer fails for whatever reason, winscp retries, despite the fact that "option batch abort" and "option reconnecttime off" has been set.
We have fixed this disabling everything in "Preferences" - "Endurance" - "Automatic reconnect".
Is this the way it should be? Wouldn't it be better if the batch parameters over rule the setting in "Preferences".
Thanks for your thougts,
Tilo
we are using a batch file like this:
option echo on option batch abort option confirm off option reconnecttime off option transfer binary open user_id@host cd remote_dir lcd local_dir put local_file ls exit
When we run that in batch mode using winscp.com and if the transfer fails for whatever reason, winscp retries, despite the fact that "option batch abort" and "option reconnecttime off" has been set.
We have fixed this disabling everything in "Preferences" - "Endurance" - "Automatic reconnect".
Is this the way it should be? Wouldn't it be better if the batch parameters over rule the setting in "Preferences".
Thanks for your thougts,
Tilo