ASPN ActiveState Programmer Network
  ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups | Web Services
SEARCH
advanced | search help

Reference
ActivePerl 5.8
Programs
a2p
ap-update-html
c2ph
cpan
dbilogstrip
dbiprof
dbiproxy
dprofpp
enc2xs
exetype
find2perl
h2ph
h2xs
instmodsh
libnetcfg
lwp-download
lwp-mirror
lwp-request
lwp-rget
perlbug
perlcc
perlglob
perlivp
piconv
pl2bat
pl2pm
pod2html
pod2latex
pod2man
pod2text
pod2usage
podchecker
podselect
ppm
prove
psed
pstruct
ptar
ptardiff
ptked
ptksh
reloc perl
runperl
s2p
SOAPsh
splain
tkjpeg
tkx-ed
widget
XMLRPCsh
xsubpp

MyASPN >> Reference >> ActivePerl 5.8 >> Programs
ActivePerl 5.8 documentation

NAME

lwp-mirror - Simple mirror utility


SYNOPSIS

 lwp-mirror [-v] [-t timeout] <url> <local file>


DESCRIPTION

This program can be used to mirror a document from a WWW server. The document is only transfered if the remote copy is newer than the local copy. If the local copy is newer nothing happens.

Use the -v option to print the version number of this program.

The timeout value specified with the -t option. The timeout value is the time that the program will wait for response from the remote server before it fails. The default unit for the timeout value is seconds. You might append "m" or "h" to the timeout value to make it minutes or hours, respectively.

Because this program is implemented using the LWP library, it only supports the protocols that LWP supports.


SEE ALSO

the lwp-request manpage, the LWP manpage


AUTHOR

Gisle Aas <gisle@aas.no>


Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState 2004 All rights reserved