DQ, NEO > Amazon-S3-FastUploader-0.05 > Amazon::S3::FastUploader

Download:
Amazon-S3-FastUploader-0.05.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.05   Source   Latest Release: Amazon-S3-FastUploader-0.08

NAME ^

Amazon::S3::FastUploader - fast uploader to Amazon S3

SYNOPSIS ^

By this module, you can upload many files to Amazon S3 at the same time (in another word, in parallel) . The module uses Parallel::ForkManager internally.

    use Amazon::S3::FastUploader;

    my $local_dir = '/path/to/dir/';
    my $bucket_name = 'myubcket';
    my $remote_dir '/path/to/dir/';
    my $uploader = Amazon::S3::FastUploader->new({
        aws_access_key_id => 'your_key_id',
        aws_secret_access_key => 'your_secre_key',
        process => 10,
    });

    $uploader->upload($local_dir, $bucket_name, $remote_dir);

METHODS ^

new

Instaniates a new object.

Requires a hashref

upload $local_dir $bucket_name $remote_dir

upload recursively $local_dir to $remote_dir

AUTHOR ^

DQNEO, <dqneoo at gmail.com>

BUGS ^

Please report any bugs or feature requests to bug-amazon-s3-fastuploader at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Amazon-S3-FastUploader. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT ^

You can find documentation for this module with the perldoc command.

    perldoc Amazon::S3::FastUploader

You can also look for information at:

SEE ALSO ^

Amazon::S3 Parallel::ForkManager

LICENSE AND COPYRIGHT ^

Copyright 2012 DQNEO.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

syntax highlighting: