wget FTP recursive download (and mirroring) function not working on some servers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wget |
Unknown
|
Unknown
|
|||
wget (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I've caught this problem using wget 1.12-3.1ubuntu1 (on Ubuntu 11.10 / amd64).
wget FTP recursive download (and mirroring) function was not working on some private FTP server (with user & password authetication, 2 connections per user limit, powered by Xlight 3.7 running on MS Windows).
It also failed to download the files with original wget 1.13.4 built from source.
(By the way, lftp mirror function seem to work).
Sample output of "wget -m ..." is given below (all usernames, passwords and hostnames changed).
"wget -r ..." results in the same problem, except an additional string appears: "Removed `site.net/
---
user@machine:/tmp$ wget -m ftp://user:<email address hidden>
--2012-01-10 19:24:51-- ftp://user:
=> `site.net/.listing'
Connecting to site.net:21... connected.
Logging in as user ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD not needed.
==> PASV ... done. ==> LIST ... done.
Length: 981 (unauthoritative)
100%[==
2012-01-10 19:24:53 (51.3 MB/s) - `site.net/.listing' saved [981]
--2012-01-10 19:24:53-- ftp://user:
=> `site.net/
==> CWD not required.
==> SIZE ... done.
==> PASV ... done. ==> RETR ...
No such file `'.
FINISHED --2012-01-10 19:24:53--
Downloaded: 1 files, 981 in 0s (51.3 MB/s)