#10 Upload files to S3 Europe

Malfunction
closed-fixed
Michal Ludvig
s3cmd (118)
7
2008-02-11
2007-11-10
wg
No

When uploading a file to a bucket created at Amazon S3 I get the following error:

ERROR: S3 error: 301 (Moved Permanently): PermanentRedirect

According to the amazon s3 developer forums the purpose of this is "to encourage you to use the http://<bucketname>.s3.amazonaws.com method to access it, so DNS redirection can be used to send you to the right datacenter. Since this isn't possible with http://s3.amazonaws.com/<bucketname>, the latter will return a 301 to force your application to use the vhosted method instead."
from http://developer.amazonwebservices.com/connect/thread.jspa?messageID=71671

Discussion

  • wg
    wg
    2007-11-10

    Logged In: YES
    user_id=724594
    Originator: YES

    I forgot to mention in the text also, that I only get the error when uploading a file to S3 EUROPE, of course.

     
  • wg
    wg
    2007-11-10

    • priority: 5 --> 7
     
  • Michal Ludvig
    Michal Ludvig
    2008-02-11

    • assigned_to: nobody --> ludvigm
    • status: open --> closed-fixed
     
  • Michal Ludvig
    Michal Ludvig
    2008-02-11

    Logged In: YES
    user_id=344740
    Originator: NO

    s3cmd 0.9.5 should support buckets created in Europe correctly.