[prog] downloading a directory from the web?

Caroline Johnston johnston at biochemistry.ucl.ac.uk
Thu Jun 23 18:22:19 EST 2005


Hi,

I need to download a whole tree of files starting from a directory listing
webpage. Is there an easy way to do this? There are hundreds of them and
they aren't helpfully named, so I'd like to preserve the directory
structure. I'm trying to do it with perl's WWW::Mechanize module, by it
seems like the sort of thing that ought to be easier, or that someone else
will already have done. Any advice?

Many thanks,

Cass.



More information about the Programming mailing list