s3cmd failed too many times

前端 未结 15 1848
梦如初夏
梦如初夏 2020-12-04 11:51

I used to be a happy s3cmd user. However recently when I try to transfer a large zip file (~7Gig) to Amazon S3, I am getting this error:

$> s3cmd put thef         


        
15条回答
  •  情深已故
    2020-12-04 12:31

    I tried all of the other answers but none worked. It looks like s3cmd is fairly sensitive. In my case the s3 bucket was in the EU. Small files would upload but when it got to ~60k it always failed.

    When I changed ~/.s3cfg it worked.

    Here are the changes I made:

    host_base = s3-eu-west-1.amazonaws.com

    host_bucket = %(bucket)s.s3-eu-west-1.amazonaws.com

提交回复
热议问题