Object Upload Overview
If you have any questions during development, post them on the Issues page of GitHub. For details about parameters and usage of each API, see the API Reference
In OBS, objects are basic data units that users can perform operations on. OBS Java SDK provides abundant APIs for object upload in the following methods:
- Performing a Streaming Upload
- Performing a File-Based Upload
- Performing a Multipart Upload
- Performing an Appendable Upload
- Performing a Resumable Upload
- Performing a Browser-Based Upload
The SDK supports the upload of objects whose size ranges from 0 KB to 5 GB. For streaming upload, appendable upload, and file-based upload, data to be uploaded cannot be larger than 5 GB. If the file is larger than 5 GB, multipart upload (where each part is smaller than 5 GB) is suitable. Browser-based upload allows files to be uploaded through a browser.
If the uploaded object can be read by anonymous users. After the upload succeeds, anonymous users can access the object data through the object URL. The object URL is in the format of https://bucket name.domain name/directory level/object name. If the object resides in the root directory of the bucket, its URL does not contain directory levels.
Last Article: Object Upload
Next Article: Performing a Streaming Upload
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.