Tracker Bug 454

Escaping of quotes on command line

Last modified: 2009-10-03 09:43:45

Bug List:    (This bug is not in your last search results)   [Show last search results]

: Escaping of quotes on command line Bug# 454
: WinSCP : Unspecified
: Scripting : unspecified
Status: RESOLVED : High
Resolution: FIXED   : Enhancement
Fixed in: 4.2.3
Description
2009-07-29 09:44
http://winscp.net/forum/viewtopic.php?t=7148

See FAQ for possible solutions menawhile
http://winscp.net/eng/docs/faq_script_quote
Comment #1
2009-08-05 22:54:51
Changing solution to different implementation of command line parsing:
Double double-quote is treated as a single double-quote within value of command-line parameter.

So to use double-quote inside script command passed on command line, do:
winscp /command "put ""c:\file with spaces.dat"""
Comment #2
2009-09-03 10:04:36
Documented:
http://winscp.net/eng/docs/commandline?rev=1251963950&rev2=1246477780&do=diff
http://winscp.net/eng/docs/script_commands?rev=1251964623&rev2=1246511557&do=diff
http://winscp.net/eng/docs/moved?rev=1251964910&rev2=1251106737&do=diff
Comment #3
2009-10-03 09:43:45
Also see Bug #494.

Bug List:    (This bug is not in your last search results)   [Show last search results]

Bug filters: [Pending bugs] [All bugs] [Fixed bugs]

Search

What is WinSCP?

WinSCP is an open source SFTP client and FTP client for Windows. Its main function is the secure file transfer between a local and a remote computer. Beyond this, WinSCP offers basic file manager functionality. It uses Secure Shell (SSH) and supports, in addition to Secure FTP, also legacy SCP protocol. [More]

WinSCP is also available as a plugin to two file managers, FAR and Altap Salamander.

License

WinSCP is free, open-source software, and is distributed under the GNU General Public License (GPL). [More]

Associations

Site design by Black Gate