in reply to Download file over HTTP

use WWW::Mechanize;

Abigail

Replies are listed 'Best First'.
Re: Re: Download file over HTTP
by Anonymous Monk on Nov 25, 2003 at 10:18 UTC
    How would that help save the file?
      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.