http://www.perlmonks.org?node_id=11104776


in reply to Re: 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

Thanks for the response. It means the script which I ran to upload the file on S3 didn't worked else it should have printed the bucket name isn't it????
  • Comment on Re^2: Need to print bucket and filename which is uploaded on S3 storage

Replies are listed 'Best First'.
Re^3: Need to print bucket and filename which is uploaded on S3 storage
by Corion (Patriarch) on Aug 21, 2019 at 07:58 UTC

    You never check the result of ->add_key_filename. Maybe that is a good point to start?

    Also, have you verified that your bucket "forest-upload" exists?

Re^3: Need to print bucket and filename which is uploaded on S3 storage
by Anonymous Monk on Aug 21, 2019 at 11:53 UTC
    the new script doesn't have this line, so it won't print anything:
    print $bucket->bucket . "\t" . $bucket->creation_date . "\n";
    unless i just don't understand the code at all...