Re: downloading from web
On Mon, Aug 15, 2005 at 07:57:58PM -0400, Roberto C. Sanchez wrote:
> On Mon, Aug 15, 2005 at 07:42:24PM -0400, Hendrik Boom wrote:
> > A few weeks agol I think on this list, I saw a message asking
> > about software to lownload series of numbered files from a web site
> > -- series like
> > http://foo.bat/onion/soup01.htm
> > http://foo.bat/onion/soup02.htm
> > http://foo.bat/onion/soup03.htm
> > http://foo.bat/onion/soup04.htm
> >
> > and the like, in situations where the site did *not* allow
> > you to read the directory
> > http://foo.bat/onion/
> >
> > If it did allow such access, wget would obviously be the tool of
> > choice.
> >
> > I've tried looking in the archives for the message, but I can't find it.
> > I think the original poster wanted to download pictures, in case
> > it helps anyone remember.
> >
> > Anyway, I'd appreciate pointers to appropriate software
> > (or to the original message and responses).
> >
>
> I think you want curl. Likewise, this works:
>
> #!/bin/bash
> for i in `seq -w 1 10` ; do wget http://foo.bat/onion/soup$i.htm; done
>
> -Roberto
Yup. Sure looks like I want curl. Thanks.
-- hendrik
Reply to: