Cyberduck Mountain Duck CLI

#2549 closed defect (fixed)

A remote directory looks empty (while it is not)

Reported by: francis.dalaudier@… Owned by: dkocher
Priority: normal Milestone: 3.0.3
Component: ftp Version: 3.0.2
Severity: normal Keywords: Workaround
Cc: francis.dalaudier@… Architecture:
Platform:

Description (last modified by dkocher)

Hello,

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.

Change History (5)

comment:1 Changed on Sep 5, 2008 at 12:48:48 PM by francis.dalaudier@…

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
Last edited on Jul 11, 2013 at 9:41:58 AM by dkocher (previous) (diff)

comment:2 Changed on Sep 5, 2008 at 2:57:58 PM by dkocher

  • Component changed from core to ftp
  • Description modified (diff)
  • Milestone changed from 3.1 to 3.0.3
  • Status changed from new to assigned

comment:3 Changed on Sep 5, 2008 at 4:52:25 PM by francis.dalaudier

  • Keywords Workaround added

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)

Last edited on Jul 11, 2013 at 9:42:14 AM by dkocher (previous) (diff)

comment:4 Changed on Sep 5, 2008 at 7:18:00 PM by dkocher

  • Resolution set to fixed
  • Status changed from assigned to closed

In r4177.

comment:5 Changed on Sep 5, 2008 at 7:27:10 PM by dkocher

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
Note: See TracTickets for help on using tickets.