Failure with OBS SDK in Uploading a File Greater than 5 GB
OBS server has a restriction on the object upload API, which only allows a maximum of 5 GB for an upload. If you want to upload a file greater than 5 GB, use the multipart upload API. Operations are detailed in the following procedure:
- Call the OBS API for initializing a multipart upload task to generate a multipart upload ID (Upload ID).
- Call the OBS API for uploading parts one by one or in parallel. The size of each part can be up to 5 GB.
- After parts are uploaded, call the OBS API to merge parts to generate the complete object.
OBS SDKs support atomic operations. In the section "Multipart Upload" of OBS SDK Reference in different programing languages, you can find more information about how to implement multipart upload using OBS SDKs.
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.
For any further questions, feel free to contact us through the chatbot.
Chatbot