Bugzilla – Bug 152450
lftp corrupts downloads
Last modified: 2008-06-25 09:53:41 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:~>
Tested with lftp-3.4.0-7 from STABLE.
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.
Use the `debug'-command with -o on the lftp-shell and attach the output file here after you reproduced this.
Please reopen this bug once you provided the required information.
mass reopening all SuSE Linux bugs that are set to REMIND+LATER to change the resolution to WONTFIX (adapting to new policy)
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 ;(