[Cyberduck-trac] [Cyberduck] #5214: File names occasionally have underscore instead of character and downloads fail
Cyberduck
trac at trac.cyberduck.ch
Mon Sep 20 15:52:45 CEST 2010
#5214: File names occasionally have underscore instead of character and downloads
fail
---------------------------+------------------------------------------------
Reporter: hms | Owner: dkocher
Type: defect | Status: new
Priority: normal | Milestone:
Component: core | Version: 3.6.1
Severity: major | Keywords: listing filenames corrupt
Platform: Mac OS X 10.6 | Architecture: Intel
---------------------------+------------------------------------------------
On listing files from the esa ftp server: eg
{{{
ftp://anonymous@ftp.esrin.esa.it/pub/RA2_MWR/USO/auxdata/cycle_47
}}}
(and other directories at this level) some of the filenames are
erroneaously reported as having underscores replacing the characters that
should be there.
Eg. shawing partial listings:
Cyberduck (from log drawer) reports:
{{{
-rw-rw-r-- 1 descw eoa 38280 Apr 13 2007
RA2_USO_CLOCK_O_20060522_140220_000049692047_00497_22094.gz
-rw-rw-r-- 1 descw eoa 5835 Apr 13 2007
RA__USO_CLOCK_O_20060522_152917_000007012047_00498_22095.gz
-rw-rw-r-- 1 descw eoa 45011 Apr 13 2007
RA2_USO_CLOCK_O_20060522_154026_000058652047_00498_22095.gz
}}}
whilst from the command line (for the same 3 files) I get:
{{{
-rw-rw-r-- 1 descw eoa 38280 Apr 13 2007
RA2_USO_CLOCK_O_20060522_140220_000049692047_00497_22094.gz
-rw-rw-r-- 1 descw eoa 5835 Apr 13 2007
RA2_USO_CLOCK_O_20060522_152917_000007012047_00498_22095.gz
-rw-rw-r-- 1 descw eoa 45011 Apr 13 2007
RA2_USO_CLOCK_O_20060522_154026_000058652047_00498_22095.gz
}}}
ie the second file has the first "2" replaced with "_".
Trying to download the file which has the erroneous filename from
cyberduck fails with "file not found" error - not surprising as the name
is wrong. Using get from the command line, using the correct filename,
works fine.
Refreshing the list will change the filenames reported - with different
files having "2" replaced with "_".
Occasionally, it is the second "2" in the filenames that is replaced, eg
RA2_USO_CLOCK_O_2006.... becomes RA2_USO_CLOCK_O__006...
The directories concerned each contain more than 500 files
log info from cyberduck for listing:
{{{
NOOP
220 ProFTPD 1.3.2 Server (ProFTPD ESA Customized) [193.204.238.60]
USER anonymous
331 Anonymous login ok, send your complete email address as your password
PASS ********
230 Anonymous access granted, restrictions apply
FEAT
211-Features:
MDTM
MFMT
MFF modify;UNIX.group;UNIX.mode;
MLST
modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
REST STREAM
SIZE
211 End
CWD /pub/RA2_MWR/USO/auxdata/cycle_47
250 CWD command successful
STAT /pub/RA2_MWR/USO/auxdata/cycle_47
211-Status of /pub/RA2_MWR/USO/auxdata/cycle_47:
}}}
--
Ticket URL: <http://trac.cyberduck.ch/ticket/5214>
Cyberduck <http://cyberduck.ch>
FTP, SFTP, WebDAV, Cloud Files, Google Docs, Azure and S3 Browser for Mac OS X.
More information about the Cyberduck-trac
mailing list