tencent cloud


Simple Download

Last updated: 2022-05-01 09:46:08

    Use Cases

    You can initiate a request to download objects in COS. You have the following options when downloading an object:

    • Download a complete object: Download the complete object data by initiating a GET request.
    • Download a part of an object: Use the Range request header in a GET request to retrieve a specific range of bytes of an object. Retrieving multiple ranges is not supported.

    The object's metadata will be returned along with the object's content as an HTTP response header. The GET request supports overwriting certain metadata values in the response using URL parameters.
    For example, the response value of Content-Disposition can be overwritten. Response headers that support modification include:

    • Content-Type
    • Content-Language
    • Expires
    • Cache-Control
    • Content-Disposition
    • Content-Encoding


    Using COS console

    Download an object in the COS console. For more information, see Downloading Objects in Console Guide.

    Using REST API

    Use the REST API to initiate an object download request. For more information, see GET Object.

    Using SDKs

    Directly call the object download method in the SDK. For more information, see the SDK documentation for the corresponding programming language below:

    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support