in reply to Re^5: Need to print bucket and filename which is uploaded on S3 storage
in thread Need to print bucket and filename which is uploaded on S3 storage
Out of this script is Amazon::S3=HASH(0x25dac28) Died at Amazon_bucket.pl line 18.use Amazon::S3; my $file_name = "filename.txt"; my $bucketName = "forest-upload"; my $s3 = Amazon::S3->new({ aws_access_key_id => "XX", aws_secret_access_key => "XX", retry => 1 }); print $s3; print "\n"; my $result = $s3->buckets(); my $bucket_name = 'Test-Bucket'; my $bucket = $s3->add_bucket( { bucket => $bucket_name } ) or die $s3- +>errstr ;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Need to print bucket and filename which is uploaded on S3 storage
by hippo (Archbishop) on Aug 21, 2019 at 10:21 UTC | |
by coolsaurabh (Acolyte) on Aug 21, 2019 at 10:57 UTC |