Amazon S3 REST API documentation says there\'s a size limit of 5gb for upload in a PUT operation. Files bigger than that have to be uploaded using multipart. Fine.
Howev
The above was very close to working, unfortunately should have ended with mp.complete_upload()
instead of the typo upload_complete()
!
I've added a working boto s3 multipart copy script here, based of the AWS Java example and tested with files over 5 GiB:
https://gist.github.com/joshuadfranklin/5130355