Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds extraneous leading space to directory names #12092

Closed
cyberduck opened this issue Jan 22, 2006 · 6 comments
Closed

Adds extraneous leading space to directory names #12092

cyberduck opened this issue Jan 22, 2006 · 6 comments

Comments

@cyberduck
Copy link
Collaborator

@cyberduck cyberduck commented Jan 22, 2006

anonymous created the issue

When I log into my FTP server, I see the directory names correctly but Cyberduck is unable to navigate between them because, when issuing commands to the server, it introduces an extraneous leading space into the last directory in the path. For instance, if my working directory is /usr/users/username/www/ and I click on the directory named "directory," then it will fail to change directories, and will produce the following error message:

FTP Error: /usr/users/username/www/ directory: No such file or directory.

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jan 30, 2006

@dkocher commented

Cannot reproduce. Probably the path has been indeed named with a space but the server does not support spacing?

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Mar 16, 2006

ekiike commented

Hello,
I also have problem with leading space character in directory name
try for example to connect to one IBM ftp site ftp.software.ibm.com in anonymous
try to go to /storage/tivoli-storage-managemnt
error message: FTP Error: /storage/ tivoli-storage-management: No such file or directory.

I have this problem with many directories

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Mar 16, 2006

@dkocher commented

The problem is that the server uses an inconsisting formatting for the file listing:

-rw-r--r--   1 20708    205         3553312 Feb 18 2005  D3I0_515.fmr
-rw-r--r--   1 20708    205             319 May 10 2005  D3I0_526.fixlist
-rw-r--r--   1 20708    205         3514148 May 10 2005  D3I0_526.fmr
-rw-r--r--   1 20708    205             203 May 10 2005  D3I0_52B.fixlist
-rw-r--r--   1 20708    205         3514660 May 10 2005  D3I0_52B.fmr
-rw-r--r--   1 20708    205             194 Oct 17 14:40 D3I0_805.fixlist
-rw-r--r--   1 20708    205         3510772 Oct 17 14:40 D3I0_805.fmr
-rw-r--r--   1 20708    205             200 Oct 17 14:40 D3I0_81A.fixlist
-rw-r--r--   1 20708    205         3518688 Oct 17 14:40 D3I0_81A.fmr

Note there is an additional space after the date formating Month-Day-Year which is interpreted as a filename beginning with a blank.

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Mar 25, 2006

@dkocher commented

Fixing this would open a regression bug. Files beginning with whitespace wouldn't be recognized anymore.
bedspreads and comforters

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Nov 14, 2009

@dkocher commented

Enter in a Terminal.app

defaults write ch.sudo.cyberduck ftp.parser.whitespaceAware false

as a workaround.

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Nov 28, 2010

@dkocher commented

Fix in fe4cff3.

Loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants