Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File names occasionally have underscore instead of character and downloads fail #5214

Closed
cyberduck opened this issue Sep 20, 2010 · 1 comment
Assignees
Labels
bug ftp FTP Protocol Implementation thirdparty Issue caused by third party

Comments

@cyberduck
Copy link
Collaborator

ce6063f created the issue

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:


@cyberduck
Copy link
Collaborator Author

@dkocher commented

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.

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug ftp FTP Protocol Implementation thirdparty Issue caused by third party
Projects
None yet
Development

No branches or pull requests

2 participants