S3Sync.net

General Category => Questions => Topic started by: mschmarck on February 25, 2008, 02:03:33 AM



Title: Files uploaded twice to EU buckets with s3cmd?
Post by: mschmarck on February 25, 2008, 02:03:33 AM
Hello.

I created an EU bucket and tried to upload something:

Code:
--($:~/Source/s3sync/s3sync)-- ./s3cmd.rb -v -d --progress put test.upload.eu:test2 SVNPlugin-0.6.1.zip
put to key test.upload.eu:test2 from SVNPlugin-0.6.1.zip {"Content-Length"=>"2067409"}
Creating new connection
Trying command put test.upload.eu test2 #<S3::S3Object:0xb798706c> Content-Length 2067409 with 100 retries left
Progress: 1924096b  132489b/s  93%       Response code: 307
Temporary Redirect to: test.upload.eu.s3-external-3.amazonaws.com
Host: test.upload.eu.s3-external-3.amazonaws.com
Trying command put test.upload.eu test2 #<S3::S3Object:0xb798706c> Content-Length 2067409 with 100 retries left
Progress: 1835008b  74745b/s  88%       Response code: 200

Do I understand that right? Is the file uploaded twice?

I'm using s3sync v1.2.4; downloaded just a few moments ago from s3sync.net.

Thanks,
Michael


Title: Re: Files uploaded twice to EU buckets with s3cmd?
Post by: ferrix on February 25, 2008, 11:15:51 AM
No it is redirected, and then uploaded.  This is normal EU bucket behavior at least for "new" buckets.