Red Hat Bugzilla – Bug 223754
wget --mirror fails to retrieve files on FTP site
Last modified: 2016-03-22 09:15:25 EDT
Description of problem:
wget fails to retrieve files from FTP servers with the --mirror
option. It occurs on authenticated FTP sites and anonymous ones, with
or without a trailing directory path.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. wget -d --mirror ftp://filearena.net/pub/ubcd/3.4/
Successfully logs in, gets a directory listing, stores it in Unix 'ls -l'
format, but does not retrieve any of the files.
Should download files and continue process for subdirectories recursively.
Independant of type of FTP server (only Unix based ones were tried, however).
Created attachment 146154 [details]
wget session log with debugging
I can confirm it is also buggy on Fedora Core 6 (pkg:wget-1.10.2-8.fc6.1).
I confirm this problem as well, this has happened in the last wget-1.10.2-8
only, so on of the fixes resulting in this recursive feature to not work anymore
in FTP mode.
- fix bugzilla #218211
- fix bugzilla #186195
- fix bugzilla #205723
Needs fixed please. Elevate priority.
can you please test wget-1.10.2-15 from rawhide and reopen if this bug still
I'm sorry, but where is rawhide? The only version I could find is wget-1.10.2-
14.fc2 from February 5th 2006. Also I couldn't install it because I couldn't
find the dependency rtld(GNU_HASH).
There's currently a problem with the rawhide build scripts, a new tree will be
published when that's resolved. As for the dependency problems: get the SRPM
and run rpmbuild --rebuilt SRPM-filename. This takes care of the dependencies
and rebuilds the package with the libraries on your system.
I can confirm this fixes it for me on FC6 - tested with "wget -r -l2 -P/tmp
ftp://wuarchive.wustl.edu/" from the wget man page. With wget-1.10.2-8 this
retrieves the .listing and exits, with wget-1.10.2-15 it downloads the other
Tried on FC4 and FC5 and worked fine after re-compiling 1.10.2-15.