multipart_chunk_size_mb – upgrade s3cmd from 1.0.0 to 1.5.2 AWS Ubuntu 12.04.3 LTS

if you get some of the following errors , you should upgrade the s3cmd from 1.0.0 to 1.5.2:

[Errno 104] Connection reset by peer
[Errno 32] Broken pipe

The Problem is that files with size more han 5GB will not be able to be uploaded to AWS S3.  It is recommended that s3cmd  should be updated to 1.5.2 . This update gives the possibilitities to split / chunk the uploaded file.

Update to the recent s3cmd Version

1. Backup your /root/.s3cfg file
2. Get the latest Version with:
3. tar zxf s3cmd-1.5.2.tar.gz
4. cd s3cmd-1.5.2/
5. apt-get install python-setuptools
6. python install
7. s3cmd –version
If this doesn’t work , then :  cp -a s3cmd /usr/bin/
8. s3cmd –version
9. s3cmd –configure

You can see now new options like : multipart_chunk_size_mb