Differences

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

2015-02-18 2015-02-18
5.7 Logging level and password logging can be set on command-line using /loglevel switch. (martin) 5.7 Logging parsed command-line and script command parameters on Debug 1 level. (martin)
Line 152: Line 152:
                    <- script cmd 1 -> <-              script cmd 2              ->                     <- script cmd 1 -> <-              script cmd 2              ->
</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)
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:

Last modified: by martin