- Converted to non-threaded upload again (will add threading for all uploads, not only multipart, later on) - Using S3.send_file() instead of S3.send_request() - Don't read data in the main loop, only compute offset and chunk size and leave it to S3.send_file() to read the data. - Re-enabled progress indicator. Still broken: - "s3cmd sync" doesn't work with multipart uploaded files because the ETag no longer contains MD5sum of the file. MAJOR! - Multipart upload abort is not triggered with all failures. - s3cmd commands "mplist" and "mpabort" to be added. - s3cmd should resume failed multipart uploads.
Simplifies handling, avoids confusion.
Bug reported by Nicholas Cynober where his s3cmd sync --cf-inval kept crashing on parsing a CloudFront distribution list with both S3Origin and CustomOrigin distributions. Let's skip over non-S3Origin distros when translating S3Uri to CFUri.