Bug 152450

Summary: lftp corrupts downloads
Product: [openSUSE] SUSE Linux 10.1 Reporter: Ulrich Hecht <uli>
Component: NetworkAssignee: E-mail List <bnc-team-screening>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: suse-beta
Version: Beta 4   
Target Milestone: ---   
Hardware: i686   
OS: SuSE Linux 10.1   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Ulrich Hecht 2006-02-21 11:26:00 UTC
Downloading the same file with lukemftp works fine:

uli@daubechies:~> ftp
Wrapper for lftp to simulate compatibility with lukemftp
lftp :~> open ftp.debian.org
Name (uli): ftp
Password:
---- Connecting to ftp.debian.org (128.101.80.133) port 21
<--- 220 saens.debian.org FTP server (vsftpd)
<--- 230-
<--- 230-This site is just another one in a worldwide array of Debian mirrors.
<--- 230-It is not the "primary Debian FTP site" -- it is merely an official
<--- 230-mirror that is in the United States of America.
<--- 230-
<--- 230-If you are connecting from outside the USA, please consider using another
<--- 230-official Debian mirror, one that is closer to you. This will likely help
<--- 230-you by speeding up your downloads, and it will help us by lessening the
<--- 230-load on this machine.
<--- 230-
<--- 230-Current list of Debian mirrors is at http://www.debian.org/mirror/list
<--- 230-
<--- 230 Login successful.
lftp ftp@ftp.debian.org:~> cd /debian/pool/g/glibc
cd: Access failed: 550 Failed to change directory. (/debian/pool/g/glibc)
lftp ftp@ftp.debian.org:/> cd /debian/pool/
contrib/  main/  non-free/
lftp ftp@ftp.debian.org:/> cd /debian/pool/main/g/glibc/
<--- 250 Directory successfully changed.
cd ok, cwd=/debian/pool/main/g/glibc
lftp ftp@ftp.debian.org:/debian/pool/main/g/glibc> get glibc_2.3.6
glibc_2.3.6-1.diff.gz  glibc_2.3.6-1.dsc  glibc_2.3.6.orig.tar.gz
lftp ftp@ftp.debian.org:/debian/pool/main/g/glibc> get glibc_2.3.6.orig.tar.gz
13891563 bytes transferred in 16 seconds (863.2K/s)
lftp ftp@ftp.debian.org:/debian/pool/main/g/glibc> quit
uli@daubechies:~> tar tvfz glibc_2.3.6.orig.tar.gz
drwxr-xr-x jbailey/2500      0 2005-12-29 22:32:03 glibc-2.3.6/
-rw-r--r-- jbailey/2500 14014977 2005-12-29 22:31:08 glibc-2.3.6/glibc-2.3.6.tar.bz2

gzip: stdin: invalid compressed data--format violated
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
uli@daubechies:~>
Comment 1 Ulrich Hecht 2006-02-21 11:26:38 UTC
Tested with lftp-3.4.0-7 from STABLE.
Comment 2 Michael Gross 2006-02-21 12:40:03 UTC
Ulrich: Does the download suddenly abbort?
Try truncating the good file to the length of the broken file and compare both files with diff. If they do not differ, it could be a problem that lftp does not interprete the length-information from the server correctly or fail for files with unknown lengths.
Comment 3 Michael Gross 2006-02-24 11:56:47 UTC
Use the `debug'-command with -o on the lftp-shell and attach the output file here after you reproduced this.
Comment 4 Michael Gross 2006-02-27 09:40:54 UTC
Please reopen this bug once you provided the required information.
Comment 5 Stephan Kulow 2008-06-25 09:35:46 UTC
mass reopening all SuSE Linux bugs that are set to REMIND+LATER to change the resolution to WONTFIX (adapting to new policy)
Comment 6 Stephan Kulow 2008-06-25 09:37:51 UTC
mass reopening all SuSE Linux bugs that are set to REMIND+LATER to change the resolution to WONTFIX (adapting to new policy)
Comment 7 Stephan Kulow 2008-06-25 09:42:16 UTC
mass reopening all SuSE Linux bugs that are set to REMIND+LATER to change the resolution to WONTFIX (adapting to new policy)
Comment 8 Stephan Kulow 2008-06-25 09:53:41 UTC
Closing old LATER+REMIND bugs as WONTFIX - if you still plan to work on it, feel free to reopen and set to ASSIGNED.

In case the report saw repeated reopen comments, it's due to bugzilla timing out on the huge request ;(