Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Automating upload of files to Amazon S3 Bucketsby OfficeLinebacker (Chaplain) |
on Oct 07, 2013 at 21:31 UTC ( [id://1057312]=perlquestion: print w/replies, xml ) | Need Help?? |
OfficeLinebacker has asked for the wisdom of the Perl Monks concerning the following question:
Greetings, esteemed monks! So I've been perusing the documentation for Net::Amazon::S3 and I've successfully connected to my S3 account and listed my buckets. What I'm trying to do now is automate the uploading of a bunch of files to each of my buckets in an automated way. For now I am just testing and I want to upload four files to each bucket. I would basically be copying files from my local hard drive to the bucket. I am having trouble finding documentation of the process. I guess the original interface was "add_key" but that's been deprecated. I guess I have to use a "Client Object" (http://search.cpan.org/~pfig/Net-Amazon-S3-0.59/lib/Net/Amazon/S3/Client/Object.pm) so is that a new object I have to instantiate for each bucket? I guess I'm a little spoiled when it comes to cpan documentation because I'm not finding this documentation clear at all.
Back to
Seekers of Perl Wisdom
|
|