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

A remote directory looks empty (while it is not) #2549

Closed
cyberduck opened this issue Sep 5, 2008 · 4 comments
Closed

A remote directory looks empty (while it is not) #2549

cyberduck opened this issue Sep 5, 2008 · 4 comments
Assignees
Labels
bug fixed ftp FTP Protocol Implementation
Milestone

Comments

@cyberduck
Copy link
Collaborator

a8d3559 created the issue

Hello,<br />

I had to retrieve a thesis through anonymous ftp on

ftp://ftp.lmd.polytechnique.fr/boccara/

but CyberDuck show an empty directory.

Remark, the directory boccara is invisible from the root.

If I use command line ftp (or curl) I get the following list (and I can get the thesis)

§ curl ftp://ftp.lmd.polytechnique.fr/boccara/
drwxr-xr-x   3 boccara  ftp           120 Sep  5 09:45 .
drwxr-xr-x  52 (?)      www          1264 Jul  2 15:54 ..
drwxr-xr-x   2 boccara  ondes         800 Mar 14  2007 latex
-rw-r--r--   1 boccara  ondes    18111483 Sep  5 09:45 these_Gillian_Boccara.pdf

If I use "OneButton FTP" (http://onebutton.org/), I also see the content of the directory.

Can you reproduce (and correct !) this problem ?

Thank you for your wonderful software.

@cyberduck
Copy link
Collaborator Author

a8d3559 commented

This is the transcript on the log-file : it seems that various tickets describe the same bug ??

220 FTP Server ready.
USER anonymous
331 Anonymous login ok, send your complete email address as your password.
PASS ********
230 Anonymous login ok, restrictions apply.
STAT /boccara
211-Status of /boccara:
 drwxr-xr-x   3 boccara  ftp           120 Sep  5 09:45 .
 drwxr-xr-x  52 (?)      www          1264 Jul  2 15:54 ..
211 End of Status

@cyberduck
Copy link
Collaborator Author

francis.dalaudier commented

O.K. I found the solution in
http://trac.cyberduck.ch/wiki/help/en/problems

Listing directories fails or shows no content (FTP)

defaults write ch.sudo.cyberduck ftp.sendStatListCommand false

I close the ticket (I do not know how to do, please close it for me)

@cyberduck
Copy link
Collaborator Author

@dkocher commented

In 96490a9.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Actually this should be reported as a bug to the server vendor. The second attempt with STAT after issueing a LIST command succeeds as the following transcript shows:

220 FTP Server ready.
USER anonymous
331 Anonymous login ok, send your complete email address as your password.
PASS ********
230 Anonymous login ok, restrictions apply.
NOOP
200 NOOP command successful
SYST
215 UNIX Type: L8
STAT /boccara
211-Status of /boccara:
 drwxr-xr-x   3 boccara  ftp           120 Sep  5 09:45 .
 drwxr-xr-x  52 (?)      www          1264 Jul  2 15:54 ..
211 End of Status
CWD /boccara
250 CWD command successful
FEAT
211-Features:
 MDTM
 REST STREAM
 SIZE
211 End
PASV
227 Entering Passive Mode (129,104,13,7,195,102).
LIST -a
150 Opening ASCII mode data connection for file list
drwxr-xr-x   3 boccara  ftp           120 Sep  5 09:45 .
drwxr-xr-x  52 (?)      www          1264 Jul  2 15:54 ..
drwxr-xr-x   2 boccara  ondes         800 Mar 14  2007 latex
-rw-r--r--   1 boccara  ondes    18111483 Sep  5 09:45 these_Gillian_Boccara.pdf
226 Transfer complete.
NOOP
200 NOOP command successful
STAT /boccara
211-Status of /boccara:
 drwxr-xr-x   3 boccara  ftp           120 Sep  5 09:45 .
 drwxr-xr-x  52 (?)      www          1264 Jul  2 15:54 ..
 drwxr-xr-x   2 boccara  ondes         800 Mar 14  2007 latex
 -rw-r--r--   1 boccara  ondes    18111483 Sep  5 09:45 these_Gillian_Boccara.pdf
211 End of Status

@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
Projects
None yet
Development

No branches or pull requests

2 participants