Net::DownloadMirror - Perl extension for mirroring a remote location via FTP to the local directory
use Net::DownloadMirror; my $um = Net::DownloadMirror->new( ftpserver => "my_ftp.hostname.com", usr => "my_ftp_usr_name", pass => "my_ftp_password", ); $um->Update(); or more detailed my $um = Net::DownloadMirror->new( ftpserver => "my_ftp.hostname.com", usr => "my_ftp_usr_name", pass => "my_ftp_password", localdir => "home/nameA/homepageA", remotedir => "public", debug => 1 # 1 for yes, 0 for no timeout => 60 # default 30 delete => "enable" # default "disabled" connection => $ftp_object, # default undef exclusions => ["private.txt", "Thumbs.db", ".sys", ".log"], ); $um->SetLocalDir("home/nameB/homepageB"); print("hostname : ", $um->get_ftpserver(), "\n"); $um->Update();
This module is for mirroring a remote location to a local directory via FTP. For example websites, documentations or developmentstuff which ones were uploaded or changed in the net. It is not developt for mirroring large archivs. But there are not in principle any limits.
None by default.
Net::MirrorDir Net::UploadMirror Tk::Mirror http://www.planet-interkom.de/t.knorr/index.html
Net::MirrorDir Storable File::Basename File::Path
Maybe you'll find some. Let me know.
Torsten Knorr, <torstenknorr@tiscali.de>
Copyright (C) 2006 by Torsten Knorr
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.9.2 or, at your option, any later version of Perl 5 you may have available.
8 POD Errors
The following errors were encountered while parsing the POD:
'=item' outside of any '=over'
You forgot a '=back' before '=head2'
To install Net::DownloadMirror, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::DownloadMirror
CPAN shell
perl -MCPAN -e shell install Net::DownloadMirror
For more information on module installation, please visit the detailed CPAN module installation guide.