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
I experienced the same issue, it turned out to be a bad bucket_location value in ~/.s3cfg.
This blog post lead me to the answer.
If the bucket you’re uploading to doesn’t exist (or you miss typed it ) it’ll fail with that error. Thank you generic error message. - See more at: http://jeremyshapiro.com/blog/2011/02/errno-32-broken-pipe-in-s3cmd/#sthash.ZbGwj5Ex.dpuf
After inspecting my ~/.s3cfg is saw that it had:
bucket_location = Sydney
Rather than:
bucket_location = ap-southeast-2
Correcting this value to use the proper name(s) solved the issue.