Multipart upload can split an object into multiple parts and upload them to COS. When uploaded, the parts are numbered consecutively. You can upload each part separately or upload them in any order. COS will merge them into an object based on their numbers. If the upload of any part fails, the failed part can be uploaded again without affecting other parts and the content as a whole. In a poor network environment, multipart upload is recommended for objects larger than 20 MB. In a high-bandwidth environment, multipart upload is recommended for objects larger than 100 MB.
Multipart upload can split an object into up to 10,000 parts of 1 MB to 5 GB in size each. The last part can be smaller than 1 MB.
Simple upload only supports uploading files with a maximum size of 5 GB, while multipart upload supports larger files.
Multipart upload is suitable for uploading large objects in poor or high-bandwidth network environments.
Multipart upload has the following strengths:
You can use a RESTful API directly to initiate a multipart upload request. For more information, see the following API documents:
You can directly call the multipart upload method in the SDK. For more information, see the SDK documentation for the corresponding programming language below: