tencent cloud

Feedback

Creating a Folder

Last updated: 2022-04-30 15:57:23

    Overview

    COS stores objects in a flat structure with no traditional folder concept. In order to make COS customary, we turn an object into a "folder" by suffixing it with / in its key. In fact, a "folder" in COS is an object with a storage capacity of 0 KB. For more information, see Folder and directory.

    Note:

    The length of the folder name cannot exceed 255 characters, and the following ASCII control characters are not supported:

    • Up (↑): CAN (24)
    • Down (↓): EM (25)
    • Right (→): SUB (26)
    • Left (←): ESC (27)

    Prerequisites

    A bucket is created. For operation details, see Creating a Bucket.

    Directions

    1. Log in to the COS console.

    2. Click Bucket List on the left sidebar.

    3. Locate the bucket for which a folder is to be created, and click the bucket name to go to the bucket management page.

    4. Click File List on the left sidebar.

    5. Click Create Folder.

    6. In the pop-up window, enter the folder name and click OK.

      Note:

      Folders cannot be renamed. Please exercise caution when naming folders.

      Folder naming rules are as follows:

    • The folder name can contain digits, letters, and visible characters.
    • A subdirectory can be created quickly by separating the path by a slash (/).
    • Do not start with/ or use two or more / consecutively.
    • Do not leave the folder name empty.
    • Do not use .. as the folder name.
    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