in reply to Re: Download file over HTTP
in thread Download file over HTTP

How would that help save the file?

Replies are listed 'Best First'.
Re: Re: Re: Download file over HTTP
by Roger (Parson) on Nov 25, 2003 at 10:45 UTC
    Abigail-II gave a good advice to use the WWW::Mechanize module from CPAN. WWW::Mechanize does allow downloading/saving of a file easily (as with LWP::UserAgent).

    The WWW::Mechanize module was derived from the LWP::UserAgent module, which has a mirror function to save/download a file:
    $ua->mirror( $url, $filename )
    If you go to the examples of the WWW::Mechanize module, you will find an example program from merlyn that 'walks' a site and 'suck down' all the images, which would apply to files in this case.

    A reply falls below the community's threshold of quality. You may see it by logging in.