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

Directory names begin with space in browser window - directories cannot be accessed #1775

Closed
cyberduck opened this issue Feb 14, 2008 · 10 comments
Assignees
Labels
bug fixed ftp FTP Protocol Implementation high priority
Milestone

Comments

@cyberduck
Copy link
Collaborator

abcec47 created the issue

When a directory has subdirectories with mixed date/time date/year values in the last modified date column, the directories which have a date/time are accessible; the directories which have date/year begin with a space in the browser window and will fail when accessed. Here is the log window listing for a directory:

drwxrwxrwx   2 sigma    staff         12800 Feb 14 11:09 bsc
drwxrwxrwx   2 sigma    staff          7680 Jun 12 2004  bsc03
drwxrwxrwx   2 sigma    staff          5120 Jun 12 2004  bsc80
drwxr-xr-x   2 guest    usr             512 Jun 12 2004  guest
drwxr-xr-x   2 sigma    staff           512 Jun 12 2004  invscout
drwxrwx---   2 sigma    staff           512 Jun 12 2004  iq
drwx------   2 sigma    staff           512 Jun 11 2004  lost+found
drwxrwxrwx   2 sigma    staff           512 Jun 12 2004  mail
drwxrwx---  10 sigma    staff         36864 Feb 14 11:03 mi
drwxrwxrwx   2 sigma    staff           512 Jun 12 2004  servdir
drwxrwxrwx   4 sigma    staff           512 Jun 12 2004  sm
drwxrwxrwx   2 sigma    staff           512 Jun 12 2004  temp
drwxrwxrwx   2 transfer special         512 Jun 12 2004  transfer
drwxrwxrwx 537 sigma    staff          9728 Feb 05 08:22 users
drwxrwx---   7 sigma    staff           512 Jun 12 2004  vertex

Double clicking on the browser window entry for servdir (which shows an initial space character in the browser window) gives this result in the log:

CWD /home/ servdir
550 /home/ servdir: A file or directory in the path name does not exist.

The 'mi' and 'users' directories can be accessed and do not show an initial space in the browser window.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

See #1381. The option described there is enabled by default in the current release Version 2.8.4 (3470).

@cyberduck
Copy link
Collaborator Author

abcec47 commented

Thanks for the reference. For the record the command needed to overcome the symptom is this

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

in a Terminal.app window. This changes the operation of Cyberduck only for the current user.

@cyberduck
Copy link
Collaborator Author

1a008c4 commented

This problem appear only on some type of servers, like AIX (may be Solaris too). Try e.g. on ftp.software.ibm.com - Cyberduck can’t work with items with 0:00 modified time (with others is no problem), because add redundand space in front of item’s name. On linux server i have no problem to work with such items (with 0:00). May be problem is with parsing information from some type of servers.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

#2260 closed as duplicate.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

#2895 closed as duplicate.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

#2770 closed as duplicate.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Milestone 3.2 deleted

@cyberduck
Copy link
Collaborator Author

@dkocher commented

#2961 closed as duplicate.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

#4092 closed as duplicate.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

In fe4cff3.

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug fixed ftp FTP Protocol Implementation high priority
Projects
None yet
Development

No branches or pull requests

2 participants