Step 6: Uploading an Object
Scenarios
After a bucket is created, you can upload files to the bucket in various ways. Then, OBS stores the files in the bucket as objects.
Background Information
- OBS Console allows you to upload files in batches. A maximum of 100 files can be uploaded at a time, with a total size of no more than 5 GB. If you upload only one file in batch upload mode, this file cannot exceed 5 GB in size.
- You can use OBS Browser+ and obsutil to upload files with a total size smaller than 48.8 TB. OBS Browser+ allows you to upload a maximum of 500 files at a time. There is no limit on the number of files you can upload using obsutil at a time.
- Using SDK/API PUT, POST, or appendable operations, you can upload files with a total size smaller than 5 GB.
- Using SDK/API multipart upload or SDK resumable upload, you can upload files with a total size smaller than 48.8 TB.
Procedure
| Method of Access | How to Upload an Object |
|---|---|
| OBS Console | |
| OBS Browser+ | |
| obsutil | |
| SDKs | Uploading an object using the Java SDK Uploading an object using the Python SDK Uploading an object using the C SDK For details about the SDK examples in other languages, see the section about uploading objects in the SDK reference. |
| APIs |
Last Article: Step 5: Creating a Bucket
Next Article: Step 7: Downloading an Object
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.