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

Error listing directories #2895

Closed
cyberduck opened this issue Jan 14, 2009 · 5 comments
Closed

Error listing directories #2895

cyberduck opened this issue Jan 14, 2009 · 5 comments

Comments

@cyberduck
Copy link
Collaborator

@cyberduck cyberduck commented Jan 14, 2009

69fdfbf created the issue

Hello... I work with a Windows Server 2003, with Pablo's FTP Server inside... When I try to list the directories, the message I get is "/disco-c" Directory Not Found
The transcription is:

 LIST -a
 150 Opening ASCII mode data connection for directory list.
 drwx------ 1 user group              0 Feb 14 01:47 BackupsEnGeneral
 drwx------ 1 user group              0 Dec 23 15:41
 borrables_cuando_falta_espacio
 drwx------ 1 user group              0 Aug 22 12:15 diskimage
 drwx------ 1 user group              0 Apr 23 17:18 fuentes
 drwx------ 1 user group              0 Jan 07 22:08 mySQLTemp
 drwx------ 1 user group              0 Nov 21 17:56 operativas
 -rwx------ 1 user group          38635 Jul 13 2006  users.xml
 drwx------ 1 user group              0 Nov 27 2007  disco-c
 226 Transfer complete
 NOOP
 200 OK
 CWD / disco-c
 550 "/ disco-c": Directory not found.

As you can see, there is an space betwen slahs, and the "d". If I get the directory listing from other FTP client (for example FileZilla, or TotalCommander), the directory listing is retrived just ok.

I hope you can reproduce this bug... If I can help you any way, let me know.

Thanks in advance, for such a greate product.

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jan 14, 2009

@dkocher commented

Please post the full transcript from the log drawer (including the STAT response.

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jan 14, 2009

69fdfbf commented

I belive it is what you need... Let me know if you need something else.

220 Welcome to SAServer
USER ariel
331 Password required for ariel
PASS ********
230 User successfully logged in.
PWD
257 "/" is current directory.
NOOP
200 OK
SYST
215 UNIX emulated by Quick 'n Easy FTP Server.
STAT /
502 Command not implemented - Try HELP.
FEAT
211-Extensions supported
SIZE
MDTM
XCRC
211 END
PASV
227 Entering Passive Mode (200,6,117,17,186,147)
LIST -a
150 Opening ASCII mode data connection for directory list.
drwx------ 1 user group              0 Feb 14 01:47 BackupsEnGeneral
drwx------ 1 user group              0 Dec 23 15:41 borrables_cuando_falta_espacio
drwx------ 1 user group              0 Aug 22 12:15 diskimage
drwx------ 1 user group              0 Apr 23 17:18 fuentes
drwx------ 1 user group              0 Jan 07 22:08 mySQLTemp
drwx------ 1 user group              0 Nov 21 17:56 operativas
-rwx------ 1 user group          38635 Jul 13 2006  users.xml
drwx------ 1 user group              0 Nov 27 2007  disco-c
226 Transfer complete
NOOP
200 OK
CWD / disco-c
550 "/ disco-c": Directory not found.


@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jan 15, 2009

@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.

@cyberduck cyberduck closed this Jan 15, 2009
@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Nov 14, 2009

@dkocher commented

Duplicate for #12092.

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Nov 28, 2010

@dkocher commented

Fix 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.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants