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.6
Programs
GET
HEAD
POST
SOAPsh
XMLRPCsh
c2ph
cpan
dprofpp
enc2xs
exetype
find2perl
h2ph
h2xs
libnetcfg
lwp-download
lwp-mirror
lwp-request
lwp-rget
perlbug
perlcc
perlglob
perlivp
piconv
pl2bat
pl2pm
pod2html
pod2latex
pod2man
pod2text
pod2usage
podchecker
podselect
ppm
ppm3
ppm3-bin
psed
pstruct
ptked
ptksh
reloc perl
runperl
s2p
splain
widget
xsubpp

MyASPN >> Reference >> ActivePerl 5.6 >> Programs

 lwp-mirror - Simple mirror utility


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, repectively.

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


SEE ALSO

lwp-request, the LWP manpage


AUTHOR

Gisle Aas <gisle@aas.no>

 lwp-mirror - Simple mirror utility


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