s3transfer
s3transfer copied to clipboard
Fix corrupted S3 downloads when file object in append mode
The DownloadSeekableOutputManager with threading causes file corruption when the output file is opened in append mode.
The file object is still seekable, but only for reads, the writes will be written into the end of the file.
This is also the root cause for boto/boto3#1446, and fixes the issue.