commandline » Revisions »
Differences
This shows you the differences between the selected revisions of the page.
2015-09-15 | 2015-12-16 | ||
real-life open command with spaces example (martin) | removing recent tags with release of the next major branch 5.8 (martin) | ||
Line 48: | Line 48: | ||
Parameter ''/passive'' enables [[ui_login_connection#connection|passive]] (''=on'') or active (''=off'') transfer mode ([[FTP]] protocol only). | Parameter ''/passive'' enables [[ui_login_connection#connection|passive]] (''=on'') or active (''=off'') transfer mode ([[FTP]] protocol only). | ||
- | Parameters ''/implicit'', and ''/explicit'' (''/explicittls'' //in the earlier versions//&recent) enable respective [[ftps#methods_of_invoking|method of invoking FTPS]]. | + | Parameters ''/implicit'', and ''/explicit'' enable respective [[ftps#methods_of_invoking|method of invoking FTPS]]. |
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). | ||
Line 65: | Line 65: | ||
With ''/log'' parameter you may turn on [[logging|session logging]] to file specified by [[local_path|local path]]. | With ''/log'' parameter you may turn on [[logging|session logging]] to file specified by [[local_path|local path]]. | ||
- | Use parameter ''/loglevel'' to change logging level. The value can be in range ''0''..''2'' (for //Normal//, //Debug 1// and //Debug 2// logging levels respectively). Append additional ''*'' to enable password logging (e.g. ''/loglevel=2*''). &recent_feature(5.7) | + | Use parameter ''/loglevel'' to change logging level. The value can be in range ''0''..''2'' (for //Normal//, //Debug 1// and //Debug 2// logging levels respectively). Append additional ''*'' to enable password logging (e.g. ''/loglevel=2*''). |
<code batch> | <code batch> | ||
Line 150: | Line 150: | ||
</code> | </code> | ||
- | To debug the quoting, enable session logging on level //Debug 1// (''/loglevel=1''). The log will show how WinSCP understands your command-line. &recent_feature(5.7) | + | To debug the quoting, enable session logging on level //Debug 1// (''/loglevel=1''). The log will show how WinSCP understands your command-line. |
An argument that begins with a slash is considered a switch. To pass a parameter that itself starts with the slash in its syntax (i.e. a remote path like ''/root''), use the special switch ''%%//%%'' (two slashes) before the argument. The switch ''%%//%%'' denotes that all following arguments are not switches. Example: | An argument that begins with a slash is considered a switch. To pass a parameter that itself starts with the slash in its syntax (i.e. a remote path like ''/root''), use the special switch ''%%//%%'' (two slashes) before the argument. The switch ''%%//%%'' denotes that all following arguments are not switches. Example: |