Bug 307071 - lftp won't download file with non-ascii characters in name using wildcard
Summary: lftp won't download file with non-ascii characters in name using wildcard
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: lftp
Version: 8
Hardware: i686
OS: Linux
low
medium
Target Milestone: ---
Assignee: Martin Nagy
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-09-26 14:11 UTC by Peter H. Jones
Modified: 2016-07-26 23:46 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-03-15 02:23:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Typescript showing download of only 3 files instead of expected 5. Contains ISO8859-1 accented characters. (2.80 KB, application/octet-stream)
2007-10-12 11:49 UTC, Peter H. Jones
no flags Details

Description Peter H. Jones 2007-09-26 14:11:06 UTC
Description of problem:
lftp will list, but not wildcard download a file with non-ascii (ISO-8859-1)
characters in its name, from another system. 

Version-Release number of selected component (if applicable):
lftp-3.5.14-2.fc8
ftp-0.17-42.fc8

How reproducible:
Always

Steps to Reproduce:
1. lftp <uri of a remote directory>
2. dir *28*
3. mget *28*
  
Actual results:
The file, with accents in its name, is listed, but mget won't download it.

Expected results:
Same files shown in dir should also download.

Additional info:
ftp works as expected, both on local system, and the remote system I am
downloading from.

Version of ftp on remote system:
ls -l /usr/bin/ftp
-r-xr-xr-x   1 root     bin        80592 Jun 23  2002 /usr/bin/ftp
file /usr/bin/ftp
/usr/bin/ftp:   ELF 32-bit MSB executable SPARC Version 1, dynamically linked,
stripped

Comment 1 Peter H. Jones 2007-09-27 11:52:13 UTC
After downloading the file with ftp, I have noticed that I can read it with
simple Unix commands such as cat and wc, but OpenOffice
openoffice.org-writer-2.3.0-5.1.fc8 will not, unless I copy the file to a
filename  without special characters. So, perhaps the crux of the problem is
that different system components treat wildcarding of file names differently.


Comment 2 Maros Barabas 2007-10-04 12:54:14 UTC
Works for me. I can't reproduce it. Can you send the version of ftp server and
list of your commands please ? Thanks

Comment 3 Peter H. Jones 2007-10-12 11:47:31 UTC
I have constructed a loopback example, using the following:

vsftpd-2.0.5-19.fc8
lftp-3.5.14-2.fc8
ftp-0.17-42.fc8

I put some files in the top of my user area, subdirectory EE. The example shows
I can list all 5 with lftp, but mget only transfers 3 of them. A typescript file
will be attached.


Comment 4 Peter H. Jones 2007-10-12 11:49:28 UTC
Created attachment 225421 [details]
Typescript showing download of only 3 files instead of expected 5. Contains ISO8859-1 accented characters.

Comment 5 Martin Nagy 2008-03-05 14:07:50 UTC
I tried everything as you said but I can't reproduce it and everything works as
it should. I have a feeling that the issue is somewhere else. For example, on my
system, ls -b doesn't escape 'a' with grave accent, but instead it is displayed
correctly.

Comment 6 Peter H. Jones 2008-03-15 02:23:41 UTC
Re-tested today, both with local loopback, and with the system where I first saw
the bug. So I'll close this bug.



Note You need to log in before you can comment on or make changes to this bug.