Differences

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

2015-12-17 2015-12-17
removing uses of option batch and confirm not needed since 5.6 with release of the next major branch 5.8 (martin) scripting#using_scripting (martin)
Line 24: Line 24:
==== [[scripting]] Using WinSCP Scripting ==== ==== [[scripting]] Using WinSCP Scripting ====
-You can use a ''[[scriptcommand_stat|stat]]'' command in the (default) ''[[scriptcommand_option|option batch abort]]'' mode to query file attributes. If the file does not exist, the ''stat'' command fails and so does the script. Then, [[scripting#checking_results|test WinSCP exit code]] to determine, if the file exists or not.+You can use a ''[[scriptcommand_stat|stat]]'' command in the ([[scripting#using_scripting|default]]) ''[[scriptcommand_option|option batch abort]]'' mode to query file attributes. If the file does not exist, the ''stat'' command fails and so does the script. Then, [[scripting#checking_results|test WinSCP exit code]] to determine, if the file exists or not.
<code batch> <code batch>

Last modified: by martin