Topic "Parameter with spaces not parsed properly"

Author Message
Rajesh.R

Guest


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
WinSCP.JPG (40.45 KB)

Description: screen shot

WinSCP.JPG

Advertisements
Guest




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:\>
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Double-double quotes are indeed not supported by 4.0.x.

See
https://winscp.net/tracker/show_bug.cgi?id=454
https://winscp.net/tracker/show_bug.cgi?id=494

You really need to upgrade (for many reasons).
Guest




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

See
https://winscp.net/tracker/show_bug.cgi?id=454
https://winscp.net/tracker/show_bug.cgi?id=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?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Quote:
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.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License