Hello, I am not sure this is a serious bug, but for some reason I cannot get
this example to work..

The documentation section 7.2 states:
-------------------------------------
You want to download all the gifs from a directory on an http server. You tried wget http://www.server.com/dir/*.gif, but that didn't work because http
retrieval does not support globbing. In that case, use:

          wget -r -l1 --no-parent -A.gif http://www.server.com/dir/

More verbose, but the effect is the same. -r -l1 means to retrieve recursively (see Recursive Download), with maximum depth of 1. --no-parent means that references to the parent directory are ignored (see Directory-Based Limits), and -A.gif means to download only the gif files. -A "*.gif" would have worked
too.

Here's what I did:
------------------
% wget -r -l1 --no-parent -A.gif http://www.lycos.com/
--16:38:18--  http://www.lycos.com/
           => `www.lycos.com/index.html'
Resolving www.lycos.com... 209.202.230.30
Connecting to www.lycos.com|209.202.230.30|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]

[ <=> ] 51,212 83.45K/s

16:38:20 (83.26 KB/s) - `www.lycos.com/index.html' saved [51212]

Removing www.lycos.com/index.html since it should be rejected.

FINISHED --16:38:20--
Downloaded: 51,212 bytes in 1 files

% fetch http://www.lycos.com/
fetch: http://www.lycos.com/: size of remote file is not known
fetch.out                                               49 kB   79 kBps

% cat fetch.out | grep gif | wc -l
      61


but it didnt download any gif files, as you can see theres supposed to be 61 of them, but the directory www.lycos.com that is created by wget does not
contain any gif files.
Regards,
Ian

Reply via email to