Maplat::Helpers::FTPSync - Sync files with a remote (ftp) server
use Maplat::Helpers::FTPSync; my $ftp = Maplat::Helpers::FTPSync($url, $localdir, $mode, $filetype);
Copies or moves files from an FTP URL to a local dir (or the other way around).
Create a new instance. Takes 4 arguments: The FTP Url (including username+password), the local directory, the mode ("copy" or "move") and the filetype.
The filetype is the case sensitive filenyme ending withour the dot, for example "bmp" or "xml".
Copy or move the files from the FTP server to the local directory.
Copy or move the files from the local directory to the FTP server.
Close connection
Rene Schickbauer, <rene.schickbauer@gmail.com>
Copyright (C) 2008-2011 by Rene Schickbauer
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.
To install Maplat, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Maplat
CPAN shell
perl -MCPAN -e shell install Maplat
For more information on module installation, please visit the detailed CPAN module installation guide.