[Cyberduck-trac] [Cyberduck] #2770: wrong parsing of STAT output

Cyberduck trac at trac.cyberduck.ch
Thu Nov 27 10:53:59 CET 2008


#2770: wrong parsing of STAT output
-----------------------+----------------------------------------------------
 Reporter:  anonymous  |       Owner:  dkocher
     Type:  defect     |      Status:  new    
 Priority:  normal     |   Milestone:         
Component:  ftp        |     Version:  3.0.3  
 Severity:  major      |    Keywords:         
-----------------------+----------------------------------------------------
Changes (by dkocher):

  * component:  core => ftp


Old description:

> 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

New description:

 {{{
 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

--

-- 
Ticket URL: <http://trac.cyberduck.ch/ticket/2770#comment:1>
Cyberduck <http://cyberduck.ch>
FTP, SFTP, WebDAV and Amazon S3 Browser for Mac OS X.


More information about the Cyberduck-trac mailing list