commandline » Revisions »
Differences
This shows you the differences between the selected revisions of the page.
2015-12-16 | 2015-12-17 | ||
removing recent tags with release of the next major branch 5.8 (martin) | removing uses of batch abort and batch confirm not needed since 5.6 with release of the next major branch 5.8 (martin) | ||
Line 52: | Line 52: | ||
Parameter ''/rawsettings'' allows configuring any site settings [[rawsettings|using raw format as in an INI file]]. E.g. to enable SSH compression and agent forwarding use ''/rawsettings Compression=1 AgentFwd=1''. The parameter must come after session URL (if any). | Parameter ''/rawsettings'' allows configuring any site settings [[rawsettings|using raw format as in an INI file]]. E.g. to enable SSH compression and agent forwarding use ''/rawsettings Compression=1 AgentFwd=1''. The parameter must come after session URL (if any). | ||
- | When using [[scripting]], use ''[[scriptcommand_open|open]]'' command (and its switches) instead. This allows you settings [[scriptcommand_option|script options]] before starting session. | + | When using [[scripting]], use ''[[scriptcommand_open|open]]'' command (and its switches) instead. |
<code batch> | <code batch> | ||
Line 91: | Line 91: | ||
<code batch> | <code batch> | ||
winscp.com /script="C:\Users\martin\Documents\myscript.txt" | winscp.com /script="C:\Users\martin\Documents\myscript.txt" | ||
- | winscp.com /command "option batch abort" "option confirm off" "open sftp://martin@example.com/ -hostkey=""ssh-rsa 2048 xx:xx:xx...""" "exit" | + | winscp.com /command "open sftp://martin@example.com/ -hostkey=""ssh-rsa 2048 xx:xx:xx...""" "exit" |
winscp.exe /console /script="myscript.txt" /log="myscript.log" | winscp.exe /console /script="myscript.txt" /log="myscript.log" | ||
</code> | </code> |