Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Parameter with spaces not parsed properly

Thanks for the reply. I am sorry... My version is actually 4.1.0. Will that be enough?

No. And you should absolutely not use such an old version in any case.
Guest

Re: Parameter with spaces not parsed properly

martin wrote:

Double-double quotes are indeed not supported by 4.0.x.

See
https://winscp.net/tracker/454
https://winscp.net/tracker/494

You really need to upgrade (for many reasons).


Thanks for the reply. I am sorry... My version is actually 4.1.0. Will that be enough?
Guest

Re: Parameter with spaces not parsed properly

Rajesh.R wrote:

Please refer the screen shot.What's going wrong here? I have enclosed the directory path for lcd command with double double-quotes to make sure the spaces in the path are picked up while parsing.
Note: I am using winscp version 4.0.x


Pasting the error below in text for those who have problems viewing the screenshot -

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
U:\>"C:\Program Files\WinSCP\winSCP" /command "option batch on" "option confirm
off" "open test_user_2:xxxxxxxx@10.38.xxx.xx:5115" "cd /RCU/outbox" "lcd ""D:
\Documents and Settings\"""
batch on
confirm off
Searching for host...
Connecting to host...
Authenticating...
Using username "test_user_2".
Authenticating with pre-entered password.
Authenticated.
Starting the session...
Reading remote directory...
Session started.
Active session: [1] test_user_2@10.38.xxx.xx
/RCU/outbox
Too many parameters for command 'lcd'.
winscp> exit

U:\>
Rajesh.R

Parameter with spaces not parsed properly

Please refer the screen shot.What's going wrong here? I have enclosed the directory path for lcd command with double double-quotes to make sure the spaces in the path are picked up while parsing.
Note: I am using winscp version 4.0.x