You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
EntityTooLarge: fail to cp file with 6.3GB from one bucket to another bucket #29
fail to cp file with 6.3GB from one bucket to another bucket
EntityTooLarge: Your proposed upload exceeds the maximum allowed object size
Reacted by Josh Edwards, Onur Sönmez, Vlad Ionescu, İbrahim Güngör, gusostow, timotheecour4, tooptoop4, Arthur Woimbée, Matthew Porter, Ivan Bulanov and 9 more
Thanks for the report. We're using the official AWS SDK. Copying objects (from S3 to S3) larger than 5GB requires multipart uploading which we currently don't leverage.
You create a copy of your object up to 5 GB in size in a single atomic operation using this API. However, for copying an object greater than 5 GB, you must use the multipart upload Upload Part - Copy API.
We're going to use the multipart Copy API to support large file transfers between S3 buckets. Please note that uploading a large file to S3 works as expected.
Just checking if there is any news on this issues. I could make use of this feature in my workflow. Not sure that PR @igungor mentioned is merged/ what's stopping that merge.
"InvalidRequest: The specified copy source is larger than the maximum allowable size for a copy source: 5368709120 status code: 400" this is the error in v2.2.2
Still not possible. Seeing as the last version it's from 2024, should we start moving to another tool? I saw there is s6cmd, but not sure if it will be the same.
Activity
JoshuaEdwards1991 commentedon Nov 27, 2019
I have also just encountered this issue, has something changed?
Note: this is between s3 buckets and not from EBS to S3
igungor commentedon Feb 24, 2020
Thanks for the report. We're using the official AWS SDK. Copying objects (from S3 to S3) larger than
5GBrequires multipart uploading which we currently don't leverage.https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html
We're going to use the multipart Copy API to support large file transfers between S3 buckets. Please note that uploading a large file to S3 works as expected.
igungor commentedon Feb 28, 2020
aws/aws-sdk-go#2653 PR is required to address this issue.
aravindh-murugesan commentedon Feb 13, 2021
Just checking if there is any news on this issues. I could make use of this feature in my workflow. Not sure that PR @igungor mentioned is merged/ what's stopping that merge.
rosibaj commentedon May 10, 2022
Is there any update on the status of this issue?
batic commentedon Jul 7, 2022
Similar problem is with
syncwhen file is larger than 5G.az-z commentedon Nov 14, 2022
case:
source - has objects
dest - is empty
s3cmd sync source/* dest/
"sync" fails silently on the first run after copying some objects.
"sync" will fail on the second run and report the offending object
az-z commentedon Nov 14, 2022
actually, bring us to the question - how do we exclude files from cp/sync ?
tooptoop4 commentedon Dec 23, 2022
some other go libs support this
ie
rclone/rclone@7b1274e
or
drakkan/sftpgo@6f8b71b#diff-53095c9aca755cd4fe0455d2549f3668df445ac69801f752b2371bcd8a4c5efaR810
matan129 commentedon Mar 16, 2023
Any updates?
tweep commentedon May 1, 2023
Ran into this today - any updates on this or is there a work-around ?
tooptoop4 commentedon Sep 20, 2024
"InvalidRequest: The specified copy source is larger than the maximum allowable size for a copy source: 5368709120 status code: 400" this is the error in v2.2.2
NicoJDE commentedon Feb 12, 2025
Are there any current plans to implement the feature in the near future?
olly-writes-code commentedon Mar 17, 2025
From reading the AWS go sdk thread it seems like this won't happen any time soon aws/aws-sdk-go#2653. It looks like AWS are moving to a new go SDK.
set92 commentedon Oct 17, 2025
Still not possible. Seeing as the last version it's from 2024, should we start moving to another tool? I saw there is s6cmd, but not sure if it will be the same.
fix: use multipart copy for S3 objects larger than 5 GiB