Differences

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

2011-11-08 2011-11-08
no summary (207.107.36.14) Clarity (207.107.36.14)
Line 108: Line 108:
</code> </code>
-To use the double-quote as a literal, use two of them. For example, the ''/command'' parameter to execute script command that includes script parameter with spaces((Note that [[scripting#syntax|doubling double-quotes]] applies to script command as well.)):+To use the double-quote as a literal, use two double quotes sequentially. For example, the ''/command'' expects that the script will be structured as an in-line FTP script and that each line of the script is enclosed in double quotes. In addition, any part of a line within the script that includes spaces is expected to be enclosed with double quotes within the line so that the complete line is passed as a single string [[scripting#syntax|doubling double-quotes]]:
<code> <code>
winscp.com /command "open ""My session""" "put ""C:\Documents and Settings\martin\Documents\myfile.dat""" winscp.com /command "open ""My session""" "put ""C:\Documents and Settings\martin\Documents\myfile.dat"""
 +                    |<- Script line 1 ->| |<-                  Script line 2                        ->|
</code> </code>

Last modified: by 207.107.36.14