Uploading Objects

Last updated: 2021-01-29 18:38:16


    You can upload objects to a bucket through the File List page in the COS console. For more information about objects, please see Object Overview.


    • Currently, the INTELLIGENT TIERING storage class is only available in the Beijing, Shanghai, Guangzhou, and Chongqing regions. To upload objects to INTELLIGENT TIERING, please enable INTELLIGENT TIERING for the bucket in the corresponding region first.
    • DEEP ARCHIVE is only available in the Beijing, Shanghai, Guangzhou, and Chengdu regions.


    Before uploading an object, make sure that you have already created a bucket. If no bucket has been created, please see Creating Buckets.


    1. Log in to the COS console and click Bucket List. Select the bucket to which you want to upload an object, and choose the File List tab. Then, click Upload Files, as shown below.

    2. On the Upload Files page, click Select Files or Select Folders to select a single or multiple local files/folders. Then, click Upload. You can also click Next to set object properties before clicking Upload (see Step 3).

    3. (Optional) For the file(s) to upload, you may choose to configure the following fields:

    • Storage Class: select the storage class for your object as needed. This field is set to STANDARD by default. For more information, please see Storage Classes.

    • Access Permissions: select the access permission for your object as needed. This field is set to Inherit by default (inheriting permissions of the bucket). For more information, please see Basic Concepts of Access Control.

    • Server-Side Encryption: configure server-side encryption for the object you want to upload. COS will automatically encrypt your data as it is written and decrypt it when you access it. Currently, COS offers two encryption types: SSE-KMS (only available in Beijing, Shanghai, and Guangzhou regions) and SSE-COS. For more information, please see Server-side Encryption Overview.

    • Object Tag: An object tag is composed of a tag key, equal sign (=), and a tag value, for example, group = IT. You can set, query, and delete tags of a specified object.

    • Metadata: object metadata, or HTTP header, is a string sent by the server over HTTP before it sends HTML data to the browser. By modifying HTTP headers, you can modify how the webpage responds as well as certain configurations, such as caching time. Modifying an object's HTTP headers does not modify the object itself. For more information, please see Custom Headers.


    Since some browsers do not support uploading multiple files, you are advised to use mainstream browsers such as IE10 or above, Firefox, or Chrome.

    1. After clicking Upload, you can check the upload progress in Task Completed in the top right of the page. Once the upload is complete, the uploaded object(s) will appear in the File List.


    The upload progress in the figure indicates the number of tasks created by the current upload operation. For example, if all 10 files are uploaded successfully, the task progress will display "succeeded: 10, failed: 0, paused: 0)".