Help Center/Object Storage Service/Java SDK Developer Guide (Ally Region)/Object Upload (SDK for Java)/Multipart Upload (SDK for Java)/Multipart Upload Overview (SDK for Java)
Updated on 2026-01-16 GMT+08:00
Multipart Upload Overview (SDK for Java)
Function
You can upload large files using multipart upload. Multipart upload is applicable to many scenarios, including:
- Files to be uploaded are larger than 100 MB.
- The network condition is poor. Connection to the OBS server is constantly down.
- Sizes of files to be uploaded are uncertain.
A multipart upload has the following advantages:
- Higher throughput: You can upload parts in parallel to improve throughput.
- Quick recovery from network failures: Uploading an object in parts helps minimize the impact of upload interruptions caused by network failures.
- Flexible suspension and resumption of object uploads: You can upload parts at any time. A multipart upload will not expire after being initiated. You must explicitly complete or abort a multipart upload.
- No need to know the size before uploading an object: You can upload an object while creating it.
A multipart upload consists of the following steps:
- Initiate a multipart upload (ObsClient.initiateMultipartUpload).
- Upload parts one by one or concurrently (ObsClient.uploadPart).
- Assemble parts (ObsClient.completeMultipartUpload) or abort the multipart upload (ObsClient.abortMultipartUpload).
Parent topic:Multipart Upload (SDK for Java)
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot
