Navigation Menu

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

wrong parsing of STAT output #2770

Closed
cyberduck opened this issue Nov 27, 2008 · 1 comment
Closed

wrong parsing of STAT output #2770

cyberduck opened this issue Nov 27, 2008 · 1 comment
Assignees
Labels
bug duplicate ftp FTP Protocol Implementation

Comments

@cyberduck
Copy link
Collaborator

anonymous created the issue

STAT /storage/tivoli-storage-management/maintenance/client
213-status of /storage/tivoli-storage-management/maintenance/client:
total 56
-rw-r--r--   1 17037    209             403 Jun 27 2003  .message
drwxr-sr-x  14 17037    209            4096 Oct  6 2000  v3r7
drwxr-sr-x  14 17037    209            4096 May  3 2001  v4r1
drwxr-sr-x  14 17037    209            4096 Apr 16 2002  v4r2
drwxr-sr-x  12 17037    209            4096 Apr  2 2004  v5r1
drwxr-sr-x  13 17037    209            4096 Feb 23 2004  v5r2
drwxr-sr-x  11 17037    209            4096 Oct 14 2005  v5r3
drwxr-sr-x  10 17037    209             256 Jan 26 2007  v5r4
drwxr-sr-x  10 17037    209             256 Nov 15 2007  v5r5
213 End of Status
NOOP
200 NOOP command successful.
STAT /storage/tivoli-storage-management/maintenance/client/ v5r5
213-status of /storage/tivoli-storage-management/maintenance/client/ v5r5:
v5r5 not found
/storage/tivoli-storage-management/maintenance/client:
total 56
-rw-r--r--   1 17037    209             403 Jun 27 2003  .message
drwxr-sr-x  14 17037    209            4096 Oct  6 2000  v3r7
drwxr-sr-x  14 17037    209            4096 May  3 2001  v4r1
drwxr-sr-x  14 17037    209            4096 Apr 16 2002  v4r2
drwxr-sr-x  12 17037    209            4096 Apr  2 2004  v5r1
drwxr-sr-x  13 17037    209            4096 Feb 23 2004  v5r2
drwxr-sr-x  11 17037    209            4096 Oct 14 2005  v5r3
drwxr-sr-x  10 17037    209             256 Jan 26 2007  v5r4
drwxr-sr-x  10 17037    209             256 Nov 15 2007  v5r5
213 End of Status

I think this is because the first file begins with a dot


Attachments

@cyberduck
Copy link
Collaborator Author

@dkocher commented

This is the same issue as described in #1775. The second whitespace before the filename is interpreted as the first character of the filename. Use the following workaround to make the parser ignore whitspace in directory listings:

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

Paste this into Terminal.app and restart Cyberduck.

@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 duplicate ftp FTP Protocol Implementation
Projects
None yet
Development

No branches or pull requests

2 participants