Todd Harris > Bio-GMOD > Bio::GMOD::Util::Mirror

Download:
Bio-GMOD-0.028.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source  

NAME ^

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

SYNPOSIS ^

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

DESCRIPTION ^

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

PRIVATE METHODS ^

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

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->mirror($path)

Mirror the $file or $path. If $path is not provided, the path will be culled from the object itself provided during object construction.

BUGS ^

None reported.

SEE ALSO ^

Bio::GMOD

AUTHOR ^

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.

syntax highlighting: