Cyberduck Mountain Duck CLI

#2895 closed defect (duplicate)

Error listing directories

Reported by: ariel.elias@… Owned by: dkocher
Priority: normal Milestone: 3.8
Component: ftp Version: 3.1.1
Severity: normal Keywords:
Cc: Architecture:
Platform:

Description (last modified by dkocher)

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.

Change History (5)

comment:1 Changed on Jan 14, 2009 at 8:36:56 AM by dkocher

  • Component changed from core to ftp

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

comment:2 Changed on Jan 14, 2009 at 10:50:57 PM by ariel.elias@…

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.

Version 0, edited on Jan 14, 2009 at 10:50:57 PM by ariel.elias@… (next)

comment:3 Changed on Jan 15, 2009 at 9:06:56 AM by dkocher

  • Description modified (diff)
  • Resolution set to duplicate
  • Status changed from new to closed

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.

comment:4 Changed on Nov 13, 2009 at 11:07:53 PM by dkocher

Duplicate for #143.

comment:5 Changed on Nov 28, 2010 at 8:39:42 PM by dkocher

  • Milestone set to 4.0

Fix in r7794.

Note: See TracTickets for help on using tickets.