Cyberduck Mountain Duck CLI

#2770 closed defect (duplicate)

wrong parsing of STAT output

Reported by: anonymous Owned by: dkocher
Priority: normal Milestone:
Component: ftp Version: 3.0.3
Severity: major Keywords:
Cc: Architecture:
Platform:

Description (last modified by dkocher)

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 (1)

STAT output.txt (1.5 KB) - added by anonymous on Nov 27, 2008 at 8:34:27 AM.

Download all attachments as: .zip

Change History (4)

Changed on Nov 27, 2008 at 8:34:27 AM by anonymous

comment:1 Changed on Nov 27, 2008 at 9:53:59 AM by dkocher

  • Component changed from core to ftp
  • Description modified (diff)

comment:2 Changed on Nov 27, 2008 at 9:58:13 AM by dkocher

  • Description modified (diff)

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:3 Changed on Jan 15, 2009 at 9:05:59 AM by dkocher

  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.
swiss made software