Differences
This shows you the differences between the selected revisions of the page.
2020-12-24 | 2021-06-28 | ||
rv (martin) | formatting (martin) | ||
Line 35: | Line 35: | ||
If you do not want to use .NET assembly, for simple conditions or conditions involving local files, you may be able to move the condition outside of WinSCP [[scripting|script]] into a [[guide_automation_advanced#batch_file|wrapper batch file]]. | If you do not want to use .NET assembly, for simple conditions or conditions involving local files, you may be able to move the condition outside of WinSCP [[scripting|script]] into a [[guide_automation_advanced#batch_file|wrapper batch file]]. | ||
- | For example you can use an ''[[https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/if|if]]'' command to test a local file existence before uploading it: | + | For example you can use an [[https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/if|''if'' command]] to test a local file existence before uploading it: |
<code batch> | <code batch> |