
Bio::GMOD::Util::Mirror - File and directory mirroring

my $mirror = Bio::GMOD::Util::Mirror->new(@opts); $mirror->mirror($path);

Bio::GMOD::Util::Mirror is used to fetch files and directories in order to keep a MOD installation up-to-date.

Create a new Bio::GMOD::Util::Mirror object.
Options: -host Fully qualified hostname, minus protcol -path Remote path or file to mirror -localpath Local path to mirror into -user FTP user if neeeded (defaults to anonymous) -pass FTP pass if neeeded (defaults to anonymous@localhost) -passive Whether to use passive transfers -hash FTP hashing algorithm
Mirror the $file or $path. If $path is not provided, the path will be culled from the object itself provided during object construction.

None reported.


Todd W. Harris <harris@cshl.edu>.
Copyright (c) 2003-2005 Cold Spring Harbor Laboratory.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.