After a bucket is created, you can upload any type of objects to it.
A bucket has been created. For more information, see Create a bucket.
Use the OSS console
- Log on to the OSS console.
- In the left-side bucket list, click the name of the bucket that you want to upload an object to.
- Click the Files tab.
- Click Upload. The Upload dialog box appears.
- In the Upload to section, set the directory to which the object will be uploaded.
- Current: If you select this option, the object will be uploaded to the current directory.
- Specified: If you select this option, you must specify a directory. OSS will automatically
create the corresponding folder and upload the object to the folder.
Note For more information about folders, see Create a folder.
- In the File ACL section, select the ACL of the object to be uploaded. By default, an object inherits the ACL of the bucket to which it belongs.
- In the Upload section, drag one or multiple objects to be uploaded to the Upload section, or click
click here for downloads to select one or multiple objects to be uploaded.
- If the uploaded object has the same name as an existing object in the bucket, the existing object will be overwritten.
- During object upload, do not refresh or close the page. Otherwise, the upload queue will be interrupted and cleared.
ossbrowser is a graphical object management tool for OSS. You can use ossbrowser to upload an object to OSS. For more information, see Upload objects.
ossutil is a command line tool for OSS. You can use ossutil to upload an object to OSS. For more information, see Upload objects.
Use APIs and SDKs
- Java SDK: Upload objects
- Python SDK: Upload objects
- PHP SDK: Upload objects
- Go SDK: Upload objects
- C SDK: Upload objects
- You can use the OSS console to upload an object no larger than 5 GB.
- You can use ossbrowser and ossutil to upload an object no larger than 48.8 TB.
- If you perform simple upload, form upload, and append upload by using APIs or SDKs, the uploaded object cannot exceed 5 GB.
- If you perform multipart upload and resumable upload by using APIs or SDKs, the uploaded object cannot exceed 48.8 TB
- After uploading images, you can process the images. For more information, see Image processing.
- After uploading audio or video objects, you can process the objects. For more information, see ApsaraVideo for Media Processing.
- After uploading objects to OSS, you can use upload callback to submit a callback request to a specified application server and perform subsequent operations.
- You can also download objects that have been uploaded to OSS as needed. For more information, see Download an object.