wget FTP mirroring (recursive download) not working

Asked by Bob Bib on 2012-01-10

wget 1.12-3.1ubuntu1 / Ubuntu 11.10 amd64

Here is an example (all usernames, passwords and hostnames changed):

user@machine:/tmp$ wget -m ftp://user:<email address hidden>
--2012-01-10 19:24:51-- ftp://user:*password*@site.net/
           => `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%[==================================================>] 981 --.-K/s in 0s

2012-01-10 19:24:53 (51.3 MB/s) - `site.net/.listing' saved [981]

--2012-01-10 19:24:53-- ftp://user:*password*@site.net/
           => `site.net/index.html'
==> 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)

Question information

English Edit question
Ubuntu wget Edit question
No assignee Edit question
Last query:
Last reply:

wget -r ftp://address

for recursive wget

Bob Bib (bobbib) said : #2

"wget -r" makes no different result, except an additional string appears: "Removed `site.net/.listing'."

From the wget help:
-m, --mirror shortcut for -N -r -l inf --no-remove-listing.

Bob Bib (bobbib) said : #3

It also fails to download the files with original wget 1.13.4 built from source.

By the way, lftp mirror function seem to work.

Launchpad Janitor (janitor) said : #4

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Bob Bib (bobbib) said : #5

bug #957153 reported.

Can you help with this problem?

Provide an answer of your own, or ask Bob Bib for more information if necessary.

To post a message you must log in.