wget

Daniel Armstrong dwarmstrong-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Fri May 26 20:54:05 UTC 2006


On 5/26/06, Chris F.A. Johnson <cfaj-uVmiyxGBW52XDw4h08c5KA at public.gmane.org> wrote:
>     Try the -r option. It may not work, since when using HTTP, wget
>     only downloads links. If the server sends an index, then you should
>     be OK.

Thanks for the suggestion, but adding the "-r" option does not help. I
guess the problem is that - as you state - when using HTTP wget only
downloads links, and this particular download directory has a
collection of video files but no index.html... so there are no links
for wget to follow? Am I interpreting this correctly?

This is what I get when I run wget with "-r":

wget -r -A "*220k.rm" http://ocw.mit.edu/ans7870/7/7.012/f04/video/

--16:52:08--  http://ocw.mit.edu/ans7870/7/7.012/f04/video/
           => `ocw.mit.edu/ans7870/7/7.012/f04/video/index.html'
Resolving ocw.mit.edu... 209.123.81.89, 209.123.81.96
Connecting to ocw.mit.edu|209.123.81.89|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
16:52:08 ERROR 404: Not Found.

Removing ocw.mit.edu/ans7870/7/7.012/f04/video/index.html since it
should be rejected.
unlink: No such file or directory

FINISHED --16:52:08--
Downloaded: 0 bytes in 0 files
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list