To replicate an object that is greater than 5 GB in size, you must use multipart copy. First, use the multipart upload API to create an object. Then use the
Upload Part - Copy API and specify the
x-cos-copy-source header to determine the source object that you want to copy. The process is outlined below:
x-cos-copy-source-rangeheader to determine how much data to copy at a time (you can specify to copy up to 5 GB at a time).
The SDKs provided by COS can be used to easily implement a multipart copy operation.
You can use REST APIs to directly initiate a multipart copy request. For more information, see the following API documentation:
You can also use multipart copy directly through SDKs. For more information, see the language-specific SDK documentation below: