Differences
This shows you the differences between the selected revisions of the page.
2014-09-11 | 2014-09-18 | ||
in-page anchored links without page name (martin) | preferring use of winscp.com with scripting (martin) | ||
Line 152: | Line 152: | ||
Save the script to the file ''example.txt''. To execute the script file use the following command. | Save the script to the file ''example.txt''. To execute the script file use the following command. | ||
<code batch> | <code batch> | ||
- | winscp.exe /console /script=example.txt | + | winscp.com /script=example.txt |
</code> | </code> | ||
For simple scripts you can specify all the commands on [[commandline|command-line]] using ''/command'' switch: | For simple scripts you can specify all the commands on [[commandline|command-line]] using ''/command'' switch: | ||
<code batch> | <code batch> | ||
- | winscp.exe /console /command "option batch abort" "open sftp://user:password@example.com/" "get examplefile.txt d:\" "exit" | + | winscp.com /command "option batch abort" "open sftp://user:password@example.com/" "get examplefile.txt d:\" "exit" |
</code> | </code> | ||