Amazon s3 file naming ?

KeydayArrathe

New Member
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 Im pretty sure you have to assign the name of the bucket to store the files 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 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. 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) 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. Gary, Marc, Will Huge thanks for your help. I thought it would be something simple and so it was. Hopefully I can return a favour sometime. Cheers Fraser 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. 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.
 
Top