Differences

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

2014-10-24 2014-11-19
string processing not supported (martin) splitting command line (martin)
Line 181: Line 181:
<code batch> <code batch>
winscp.com /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>
 +
 +In Windows batch file, you can use ''^'' to split too long command-line to separate lines by [[wp>Batch_file#Escaped_characters_in_strings|escaping]] following new-line character:
 +
 +<code batch>
 +winscp.com /command ^
 +    "option batch abort" ^
 +    "open sftp://user:password@example.com/" ^
 +    "get examplefile.txt d:\" ^
 +    "exit"
</code> </code>

Last modified: by martin