commandline » Revisions »
Differences
This shows you the differences between the selected revisions of the page.
2012-04-01 | 2012-09-24 | ||
Restored revision 1330549927. Undoing revision 1333269863. (martin) (hidden) | 5.1 stable (martin) | ||
Line 39: | Line 39: | ||
Parameter ''/hostkey'' specifies fingerprint of expected host key (or several alternative fingerprints separated by semicolon). It makes WinSCP automatically [[ssh#verifying_the_host_key|accept hostkey]] with the fingerprint. | Parameter ''/hostkey'' specifies fingerprint of expected host key (or several alternative fingerprints separated by semicolon). It makes WinSCP automatically [[ssh#verifying_the_host_key|accept hostkey]] with the fingerprint. | ||
- | Parameter ''/passive'' enables [[ui_login_connection#connection|passive]] (''=on'') or active (''=off'') transfer mode ([[FTP]] protocol only). &beta_feature | + | Parameter ''/passive'' enables [[ui_login_connection#connection|passive]] (''=on'') or active (''=off'') transfer mode ([[FTP]] protocol only). |
Parameters ''/implicit'', ''/explicitssl'' and ''/explicittls'' enable respective [[ftps#methods_of_invoking|methods of invoking FTPS]]. | Parameters ''/implicit'', ''/explicitssl'' and ''/explicittls'' enable respective [[ftps#methods_of_invoking|methods of invoking FTPS]]. | ||
- | Parameter ''/rawsettings'' allows configuring any session settings using raw format as in an INI file. E.g. to enable SSH compression and agent forwarding use ''/rawsettings Compression=1 AgentFwd=1''. &beta_feature | + | Parameter ''/rawsettings'' allows configuring any session settings using raw format as in an INI file. E.g. to enable SSH compression and agent forwarding use ''/rawsettings Compression=1 AgentFwd=1''. |
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 (&beta_feature). For backwards 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]]. | + | 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 backwards 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 68: | Line 68: | ||
With ''[[executables|winscp.exe]]'', if ''/console'' parameter is not used along with ''/script'' or ''/command'', the script/command is executed without visual feedback (window). | With ''[[executables|winscp.exe]]'', if ''/console'' parameter is not used along with ''/script'' or ''/command'', the script/command is executed without visual feedback (window). | ||
- | Use parameter ''/xmlgroups'' along with ''/xmllog'', to [[logging_xml#group|group]] all XML log elements belonging to the same command under parent ''group'' element. &beta_feature | + | Use parameter ''/xmlgroups'' along with ''/xmllog'', to [[logging_xml#group|group]] all XML log elements belonging to the same command under parent ''group'' element. |
- | Use parameter ''/nointeractiveinput'', when feeding commands to ''[[executables|winscp.com]]'' using [[executables#redirection|standard input]], to make sure prompts for anything else than commands (such as password prompts) are cancelled. &beta_feature | + | Use parameter ''/nointeractiveinput'', when feeding commands to ''[[executables|winscp.com]]'' using [[executables#redirection|standard input]], to make sure prompts for anything else than commands (such as password prompts) are cancelled. |
<code> | <code> |