Uploading Objects

Last updated: 2020-10-10 10:27:05

    Overview

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

    Prerequisites

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

    Directions

    1. Entering the file list

    Log in to the COS Console, and click Bucket List. Select the bucket to which you want to upload an object, and enter the File List page. Click Upload Files as shown below.

    2. Selecting object(s) to be uploaded

    In the Upload Files page, click Select Files or Select Folders to select a single or multiple local files/folders. Click Upload, or click Next to set object attributes before clicking Upload (see Step 3).

    3. Setting object attributes (optional)

    For the file(s) to upload, you may choose to configure fields as shown below.

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

    • Access Permissions: select the access permission for your object as needed. This field is set to Inherit by default (inheriting permissions from the bucket). For more information, 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-COS, and SSE-KMS (only available in Beijing, Shanghai, and Guangzhou regions). For more information, see Server-side Encryption Overview.

    • Object Tag: the object tag is composed of a tag key, (=), and a tag value, such as group = IT. You can set, query, and delete tags for specific 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, see Custom Headers.

    Note:

    Since some browsers do not support uploading multiple files, we recommended using mainstream browsers such as IE10 or above, Firefox, or Chrome.

    4. Verifying upload completion

    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.

    Note:

    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)".

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help