Amazon s3 file naming ?

8 replies
Hi Warriors

I have just started using amazon S3 to store some big files in for download but can't access them by typing the URL in to my browser.

I have been usin the format below

http://bucketname.s3.amazonaws.com/folder/file.zip

which seems right but I am getting the follwing message in a browser:

This XML file does not appear to have any style information associated with it. The document tree is shown below.

<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>D6C20897C82B84D6</RequestId>

<HostId>
jKBsWb/j/HpONO5hXzgJ6gS153k+5QtEuxM5AVBPRrnpF6OhzOdV6l9hikz NJD+a
</HostId>
</Error>

Can anyone help?

Many thanks

Fraser
#amazon #file #naming
  • Profile picture of the author CPA Andrew
    Im pretty sure you have to assign the name of the bucket to store the files
    {{ DiscussionBoard.errors[4066234].message }}
    • Profile picture of the author leanfang
      Yes sure - I did do that. :-)

      I just used bucketname, folder and file to conceal the real URL.

      I mean is there some final confirmation of account set up page I need to go to before I can use the system or an activation code i need to use?

      The documentation is aimed at hardcore tehies by the looks of it.

      Fraser
      Signature

      Are you making these 5 outsourcing mistakes?
      http://Outsourcing.PublishingTips.com

      Top 10 Freedom Tools Report
      http://Living-Free.net/optin-2step/

      {{ DiscussionBoard.errors[4066278].message }}
  • Profile picture of the author Gary Rambo
    If you're trying download using a direct link you need to edit the ACL and change the 'Read' field under 'Everyone' from the red X to the green check mark.

    Just be aware that if anyone else gets the link then they can also download whatever you uploaded. If the download is for others you're better off using S3 Flowshield or something similar to protect it.
    {{ DiscussionBoard.errors[4066599].message }}
    • Profile picture of the author Okane
      If you're using S3 Fox Organizer, just right-click on the file, choose "edit ACL" and mark "READ" for "Everyone".

      As mentioned above, this allows anyone who knows the link to download the file.

      Marc

      PS: S3Fox Download:
      S3Fox Organizer(S3Fox)
      Signature

      signature is on holiday

      {{ DiscussionBoard.errors[4066628].message }}
  • Profile picture of the author WillR
    Yep, your file ACL permissions are not set correctly. If you haven't already then I highly suggest you download the free Cloudberry S3 file manager:

    CloudBerry S3 Explorer - FREEWARE

    This software is like an FTP program for your S3 account. It will save you a huge amount of time.
    {{ DiscussionBoard.errors[4067120].message }}
  • Profile picture of the author omk
    Whenever you see "AccessDenied" that means you don't have your permissions set. You need to go back into the settings and double check them. Also make sure you have the correct url.
    {{ DiscussionBoard.errors[4067929].message }}
  • Profile picture of the author rickfrazier1
    As already mentioned, your permissions for the file weren't set so it could be downloaded, and you need to protect the download url.

    There are a number of ways you can expose your files to thieves. As it turns out, I currently have a WSO that is just about this very topic...

    Obviously, I'm biased, but I think it may be able to help you.
    Signature

    My Current WSO: Financial Independence 2012 - The Truth About Kindle Publishing

    HostGator web hosting is only $0.01 for the first month: Use coupon code HMTSpecial

    Other WSO: Protect Your Product - Prevent THIEVES from stealing your product.

    {{ DiscussionBoard.errors[4072488].message }}

Trending Topics