Skip to content

EntityTooLarge: fail to cp file with 6.3GB from one bucket to another bucket #29

Open

Description

@tony710508

fail to cp file with 6.3GB from one bucket to another bucket

EntityTooLarge: Your proposed upload exceeds the maximum allowed object size

Activity

  1. JoshuaEdwards1991 commented on Nov 27, 2019

    @JoshuaEdwards1991

    I have also just encountered this issue, has something changed?
    Note: this is between s3 buckets and not from EBS to S3

  2. igungor commented on Feb 24, 2020

    @igungor
    Member

    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.

    https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html

    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.

  3. igungor commented on Feb 28, 2020

    @igungor
    Member

    aws/aws-sdk-go#2653 PR is required to address this issue.

  4. aravindh-murugesan commented on Feb 13, 2021

    @aravindh-murugesan

    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.

  5. rosibaj commented on May 10, 2022

    @rosibaj

    Is there any update on the status of this issue?

  6. batic commented on Jul 7, 2022

    @batic

    Similar problem is with sync when file is larger than 5G.

  7. az-z commented on Nov 14, 2022

    @az-z

    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

  8. az-z commented on Nov 14, 2022

    @az-z

    actually, bring us to the question - how do we exclude files from cp/sync ?

  9. matan129 commented on Mar 16, 2023

    @matan129
    Contributor

    Any updates?

  10. tweep commented on May 1, 2023

    @tweep

    Ran into this today - any updates on this or is there a work-around ?

  11. tooptoop4 commented on Sep 20, 2024

    @tooptoop4

    "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

  12. NicoJDE commented on Feb 12, 2025

    @NicoJDE

    Are there any current plans to implement the feature in the near future?

  13. olly-writes-code commented on Mar 17, 2025

    @olly-writes-code

    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.

  14. set92 commented on Oct 17, 2025

    @set92

    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.

  15. added a commit that references this issue on Feb 5, 2026
    8440f70
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    • Status
      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions