commandline » Revisions »
Differences
This shows you the differences between the selected revisions of the page.
2013-11-06 | 2013-11-16 | ||
typo (martin) | separate logging sextion (martin) | ||
Line 49: | Line 49: | ||
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. This allows you settings [[scriptcommand_option|script options]] before starting session. | ||
- | |||
- | With ''/log'' parameter you may turn on [[logging|session logging]] to file specified by [[local_path|local path]]. With ''/xmllog'' parameter you may turn on [[logging_xml|XML logging]] to file specified by local path. ((For backward compatibility, XML logging can also be enabled using ''/log'' parameter with filename ending with ''.xml'' extension.)) In either path you can use the same patterns as in the [[ui_pref_logging|logging preferences]]. | ||
<code> | <code> | ||
Line 57: | Line 55: | ||
winscp.exe scp://test@example.com:2222 /privatekey=mykey.ppk | winscp.exe scp://test@example.com:2222 /privatekey=mykey.ppk | ||
winscp.exe ftps://martin@example.com /implicit /certificate="xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx" | winscp.exe ftps://martin@example.com /implicit /certificate="xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx" | ||
+ | </code> | ||
+ | |||
+ | ==== [[logging]] Logging ==== | ||
+ | |||
+ | With ''/log'' parameter you may turn on [[logging|session logging]] to file specified by [[local_path|local path]]. With ''/xmllog'' parameter you may turn on [[logging_xml|XML logging]] to file specified by local path. ((For backward compatibility, XML logging can also be enabled using ''/log'' parameter with filename ending with ''.xml'' extension.)) In either path you can use the same patterns as in the [[ui_pref_logging|logging preferences]]. | ||
+ | |||
+ | <code> | ||
winscp.exe martin@example.com /log="C:\winscp.log" | winscp.exe martin@example.com /log="C:\winscp.log" | ||
</code> | </code> |