Parameter with spaces not parsed properly

Advertisement

Rajesh.R
Guest

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

Description: screen shot

WinSCP.JPG

Reply with quote

Advertisement

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:\>

Reply with quote

martin
Site Admin
martin avatar

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.

Reply with quote

Advertisement

You can post new topics in this forum