LWP-DOWNLOAD(1) User Contributed Perl Documentation LWP-DOWNLOAD(1)
NAME
lwp-download - Fetch large files from the web
SYNOPSIS
lwp-download [-a] []
DESCRIPTION
The lwp-download program will down load the document specified by the
URL given as the first command line argument to a local file. The
local filename used to save the document is guessed from the URL
unless specified as the second command line argument.
The lwp-download program is implemented using the libwww-perl library.
It is better suited to down load big files than the lwp-request pro-
gram because it does not store the file in memory. Another benefit is
that it will keep you updated about its progress and that you don't
have much options to worry about.
Use the "-a" option to save the file in text (ascii) mode. Might make
a difference on dosish systems.
EXAMPLE
Fetch the newest and greatest perl version:
$ lwp-download http://www.perl.com/CPAN/src/latest.tar.gz
Saving to 'latest.tar.gz'...
11.4 MB received in 8 seconds (1.43 MB/sec)
AUTHOR
Gisle Aas
perl v5.8.5 2005-02-21 LWP-DOWNLOAD(1)
UNIX/Linux commands referenced on this page:
- as
- lwp-request
- file
- perl