Multipart Copy

Last updated: 2019-10-15 20:55:49

    Use Cases

    For copying an object greater than 5 GB, you must use the multipart copy. Use the multipart upload API to create an object, and use the Upload Part - Copy API to carry the x-cos-copy-source header to specify the source object. The process is as follows:

    1. Initialize an object for multipart upload.
    2. Copy the data of the source object. You can specify the x-cos-copy-source-range header and copy up to 5 GB of data at a time.
    3. Complete the multipart upload.

    SDKs provided by COS can be used to easily implement multipart copy.

    Directions

    Via REST API

    You can use the REST API directly to initiate a multipart copy request. For more information, see the following API documentations:

    Via the SDK

    You can call the multipart copy method in the SDK directly. For more information, see the SDK documentation for the corresponding programming language below:

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help