receiving incorrect url from amazon s3 module I am using drupal 7. I have installed amazon s3 module and its dependencies. I have created a bucket for saving my files on amazon server. Everything went good.. But when i try to get the path for the file it looks like this 

http://bucketname.s3.amazonaws.com/abc.pdf

Later i came to know the actual path must look like
https://s3.amazonaws.com/bucketname/abc.pdf

As a result i am unable to access the pdf. It always shows access Denied as a response.

Please help me to over come this.
You need to create a group permission for Amazon S3 in Amazon IAM and indicate who can view the bucket.

Instructions on how to grant access to your bucket here: http://blogs.aws.amazon.com/security/post/Tx3VRSWZ6B3SHAV/Writing-IAM-Policies-How-to-grant-access-to-an-Amazon-S3-bucket

Hope this helps.