Differences

This shows you the differences between the selected revisions of the page.

2014-07-14 2014-07-14
5.6 Bug 1173 Change: Enabling batch mode in scripting automatically limits reconnect time to 120 seconds, if it is not limited yet. (martin) 5.6 Bug 1172 Optionally failing command when file mask matches no files. (martin)
Line 16: Line 16:
| ''confirm''    | ''%%off|on%%'' \\ Toggles confirmations (overwrite, etc.). \\ Commands affected: ''[[scriptcommand_get|get]]'', ''[[scriptcommand_put|put]]'' | | ''confirm''    | ''%%off|on%%'' \\ Toggles confirmations (overwrite, etc.). \\ Commands affected: ''[[scriptcommand_get|get]]'', ''[[scriptcommand_put|put]]'' |
| ''reconnecttime''    | ''%%off | <sec>%%'' \\ Sets time limit in seconds to try reconnecting broken sessions. Default value ''off'' removes any time limit. \\ Reconnect time is set implicitly to 120 seconds, when batch mode (''batch'' option above) is enabled (&beta_feature) \\ Commands affected: ''[[scriptcommand_get|get]]'', ''[[scriptcommand_put|put]]'', ''[[scriptcommand_synchronize|synchronize]]'', ''[[scriptcommand_keepuptodate|keepuptodate]]'' | | ''reconnecttime''    | ''%%off | <sec>%%'' \\ Sets time limit in seconds to try reconnecting broken sessions. Default value ''off'' removes any time limit. \\ Reconnect time is set implicitly to 120 seconds, when batch mode (''batch'' option above) is enabled (&beta_feature) \\ Commands affected: ''[[scriptcommand_get|get]]'', ''[[scriptcommand_put|put]]'', ''[[scriptcommand_synchronize|synchronize]]'', ''[[scriptcommand_keepuptodate|keepuptodate]]'' |
 +| ''failonnomatch'' | ''%%off|on%%'' \\ Toggles whether commands fail when file mask matches no files. Default value is ''off''. &beta_feature \\ Commands affected: ''[[scriptcommand_get|get]]'', ''[[scriptcommand_put|put]]'', ''[[scriptcommand_rm|rm]]'', ''[[scriptcommand_mv|mv]]'', ''[[scriptcommand_chmod|chmod]]'' |
Note that resetting the same option overwrites a previous value, it does not append. Note that resetting the same option overwrites a previous value, it does not append.

Last modified: by martin