This project is read-only.

Problem with space as first character

Sep 12, 2012 at 12:02 AM
Edited Sep 12, 2012 at 12:05 AM

When I have create a folder with a space as first character, it cannot set it as working directory.

For example if I have:

/
/Test
/Test/ MyFolder

I can do

CWD /Test

but 

CWD /Test/ MyFolder/

or

CWD  MyFolder/

 

doesn't work, it always returns "550 no such file".

I've tried with FileZilla it works.
Do you have any idea of what could happen ?

I've looked at the source, and the this the call to:

this.Execute("CWD {0}", path)

in

public void SetWorkingDirectory(string path)

of FtpClient.cs that return this. 

Sep 13, 2012 at 12:33 AM

Maybe a text encoding issue? I'll have to dig into this as well, not sure what's going on off the top of my head.