Overview
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. Note:
Currently, the storage types that support the Multi-AZ feature are only available in Beijing, Shanghai, Guangzhou, Hong Kong (China), and Singapore regions. If you need to upload storage types with the Multi-AZ feature, such as Standard Storage (Multi-AZ), please enable the Multi-AZ feature for the corresponding region's bucket first. Currently, the Intelligent Tiering Storage type is only supported in Beijing, Nanjing, Shanghai, Guangzhou, Chengdu, Chongqing, Singapore, Tokyo, Frankfurt, and Virginia regions. If you need to upload this type, please enable the Intelligent Tiering Storage configuration for the corresponding region's bucket first. Currently, the DEEP ARCHIVE storage class is only available in Beijing, Nanjing, Shanghai, Guangzhou, Chengdu, Chongqing, Tokyo, and Singapore regions. To upload objects to this storage class, select a bucket in the region first.
When you upload an object in the console, the upload speed is strongly subject to the current network environment. If the object is large or the network conditions are poor, we recommend you use multipart upload. In multipart upload, a file can be divided into multiple parts and uploaded separately, and the failure to upload a single part will not affect other uploaded parts. You can use the COSCLI tool, APIs, or SDKs for different programming languages to initiate a multipart upload request. Among them, SDKs and COSCLI support checkpoint restart, where incomplete uploads can be resumed from where left off, thereby improving the overall upload success rate. Prerequisites
Before uploading an object, make sure that you have already created a bucket. If no bucket has been created, please see Creating Buckets. Directions
2. Click Bucket List on the left sidebar.
3. Click the target bucket to enter the File List page.
4. In File List, click Upload Files.
5. In the pop-up window, click Select Files or Select Folders and select one or multiple local files (or folders) as needed.
Note:
Since some browsers do not support uploading multiple files, we recommend you use popular browsers such as Internet Explorer 10 or later, Firefox, or Chrome.
6. (Optional) Click Configure Parameters.
7. (Optional) set the object attributes in the Upload Files window.
Notes: Storage Class: Select the storage class for your object as needed. This field is set to STANDARD
by default. For more information, see Overview. Note:
If your bucket has MAZ configuration enabled, you can only select an MAZ storage class, such as MAZ_STANDARD. If it also has INTELLIGENT TIERING configuration enabled, you can also select MAZ_INTELLIGENT TIERING.
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: When you upload objects, configure the server encryption attribute for the objects. Tencent Cloud COS will add a data encryption protection policy for the uploaded objects, helping you automatically encrypt before data is written and automatically decrypt when you access the data. Currently, SSE-COS and SSE-KMS are supported. For an introduction to server-side encryption and applicable regions, see Server-side Encryption Overview. Object tag: You can add tags to an object to be uploaded. The object tag is composed of a tag key, (=), and a tag value, such as group = IT
. Each object tag is a key-value pair. For more information, see Object Tag Overview. 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. 8. Click Upload.
9. You can check the upload progress in Task Completed in the top-right corner of the page. Once the upload is complete, the uploaded object will appear in File List.
Note:
The task progress in the figure indicates the number of tasks established by the current operation. For example, if you have executed an upload task (this upload task is to upload 10 files) and all have been uploaded successfully, then the task progress will display "Task completed (10 successful)".
Was this page helpful?