R (Chandra) Chandrasekhar wrote:
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?
That URL isn't a link to the download, it's a link to an HTML list of
download. Use wget with a URL of
http://download.mozilla.org/?product=firefox-2.0.0.13&os=linux&lang=en-US
and it should work for you.
Rob
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/