#5214 closed defect (thirdparty)
File names occasionally have underscore instead of character and downloads fail
Reported by: | hms | Owned by: | dkocher |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | ftp | Version: | 3.6.1 |
Severity: | major | Keywords: | listing filenames corrupt |
Cc: | Architecture: | Intel | |
Platform: | Mac OS X 10.6 |
Description
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_O006...
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:
Change History (1)
comment:1 Changed on Sep 20, 2010 at 2:17:06 PM by dkocher
- Component changed from core to ftp
- Resolution set to thirdparty
- Status changed from new to closed
I cannot replicate the problem. The file RA2_USO_CLOCK_O_20060522_152917_000007012047_00498_22095 is listed correctly here. If already the transcript shows the wrong name, that is either a bug in the server occasionally returning a faulty name or a network component in between that filters the traffic and introduces the error. I don't think there is much I can about here. If you don't think so or have more information, please reopen the ticket.