Uploading a File

This section describes how to upload local files to OBS over the Internet. These files can be texts, images, videos, or any other type of files.

Limitations and Constraints

Prerequisites

Procedure

  1. In the bucket list, click the bucket to be operated. The Overview page of the bucket is displayed.
  2. In the navigation pane, click Objects.
  3. Go to the folder to which objects are uploaded. Click Upload Object. The Upload Object dialog box is displayed.

    If the files that you want to upload to OBS are stored in Microsoft OneDrive, it is recommended that the names of these files contain a maximum of 32 characters to ensure compatibility.

    Figure 1 Uploading objects

  4. Select a storage class. If no storage class is selected, the file will inherit the storage class of the bucket.
  5. Add a file or folder to be uploaded by dragging it to the Upload Object area.

    You can also click add file in the Upload Object area to select files.

  6. Optional: Select KMS encryption to encrypt the uploaded file. For details, see Uploading a File with Server-Side Encryption.

    If the default encryption is enabled for a bucket, uploaded objects are automatically encrypted.

  7. Click Upload.

Related Operations

You can specify its storage class when uploading an object or change its storage class after the object is uploaded. The procedure is as follows:

  1. In the bucket list, click the bucket to be operated. The Overview page of the bucket is displayed.
  2. In the navigation pane, click Objects.
  3. Select the target object and choose More > Change Storage Class on the right.
  4. Select the desired storage class and click OK.
  • Objects can be changed from Standard to Warm or Cold storage class, or from Warm to Standard or Cold storage class, but objects in Cold storage class must be restored before being changed to Standard or Warm storage class. Changing from Warm or Cold to other storage classes incurs restoration fees. Select an appropriate change option based on your actual needs.
  • When the storage class is changed to Cold, the object restoration status changes to Unrestored.
  • You can also configure a lifecycle rule to change the storage class of an object. For details, see Configuring a Lifecycle Rule.

Follow-up Procedure

You can click Copy Path on the right of an object to copy the path of the object.

You can share the path with other users. Then they open the bucket where the object is stored and enter the path in the search box to find the object.