After a bucket is created, you can upload any type of objects to it.

Prerequisites

A bucket has been created. For more information, see Create a bucket.

Use the OSS console

To upload an object to OSS from the OSS console, perform the following steps:
  1. Log on to the OSS console.
  2. In the left-side bucket list, click the name of the bucket that you want to upload an object to.
  3. Click the Files tab.
  4. Click Upload. The Upload dialog box appears.
  5. 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.
  6. 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.
  7. 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.
    Note
    • 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.

Use ossbrowser

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.

Use ossutil

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

OSS provides APIs and SDKs in multiple programming languages to facilitate secondary development. For more information about the APIs and SDKs used to upload an object, see the following links: For SDK examples in more programming languages, see Introduction.

Notes

  • 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

Subsequent operations

  • 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.