develooper Front page | perl.beginners | Postings from March 2008

Non-interactive download of file from web link

Thread Next
From:
R Chandrasekhar
Date:
March 26, 2008 18:07
Subject:
Non-interactive download of file from web link
Dear Folks,

I am trying to write a script to, among other things, non-interactively download 
a file using a web link. Specifically, the file is a compressed archive of 
firefox, and the link is:

http://www.mozilla.com/products/download.html?product=firefox-2.0.0.13&os=linux&lang=en-US

Doing this using utilities like wget, ncftp, or lftp, on the command line in 
Linux have all failed.

It is trivial to interactively download the file using a web browser and a mouse 
click. The downloaded file is firefox-2.0.0.13.tar.gz.

Is there a way to accomplish non-interactive downloading from links like these 
in Perl, using a module perhaps?

Thank you.

Chandra

Thread Next


Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About