Topic "Error when downloading/accessing dirs with brackets"

Author Message
Teishi / IRCNet #coven

Guest


I've got a problem with brackets (and other chars as well, but can't recall them right now). It is possible to upload directories with brackets (i.e. "[", "]") in them, but I can't download such directories. When I try I get the following message:

"Cannot execute SCP to start transfer. Please make sure that SCP is installed on the server and path to it is included in PATH. You may also try SFTP instead of SCP."

Also, when I try accessing the directory, I get the following error message:

"Command 'cd "Directory [with brackets]"'
failed with return code -1 and error message
invalid characters in scp command!
here:[with brackets]"
try using a wildcard to match this file/directory."

Cheers!
/T
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Are you using SCPonly shell?
_________________
Martin Prikryl
Guest




Sorry, noticed I didn't mention which release I'm using - my bad :] I'm using WinSCP 3.8.2 Build 330 standalone. Not sure if that answers the question though?

/T
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
I've meant whether you use SCPonly shell on the server.
_________________
Martin Prikryl
Guest




Oh. Sorry, yeah, I use SCP on the server.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Quote:
Oh. Sorry, yeah, I use SCP on the server.

I have not meant SCP protocol, but SCPonly shell.
Guest




Ah, yes. I'm a bit slow... not really used to this program and I'm not the admin of the server. But apparently, yes, using SCPonly shell... also, apparently it works if I don't use the SCP protocol but use the SFTP protocol instead.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Anonymous wrote:
Ah, yes. I'm a bit slow... not really used to this program and I'm not the admin of the server. But apparently, yes, using SCPonly shell... also, apparently it works if I don't use the SCP protocol but use the SFTP protocol instead.

The problems that you describe are typical for SCPonly shell, due to its limitations.
_________________
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