Creating a Folder

This section describes how to create a folder in OBS Console. Folders facilitate data management in OBS.

Context

  • There are no real files or folders on OBS. For easy data management, OBS provides a method to simulate folders. On OBS, an object is simulated as a folder by adding a slash (/) to the object name in OBS Console.
  • The folder cannot be downloaded using OBS Console. However, you can batch download files in a folder. Alternatively, you can use OBS Browser to download a folder.

Procedure

  1. Log in to OBS Console.
  2. In the bucket list, click the target bucket to go to the Summary page. In the navigation tree on the left, click Object.
  3. Click Create Folder. Alternatively, select the target folder and click Create Folder.
  4. In the Folder Name text box, enter a name for the folder.

    • The folder name cannot contain the special characters of \/:*?"<>
    • The folder name cannot start or end with a period (.).
    • The folder name cannot exceed 1023 bytes. The length of a folder name is the sum of the length of its own and the length of its upper-level directories, and cannot exceed 1023 bytes. Levels of directories are automatically separated by slashes (/). For example, if the upper-level directory of folder01 is folder02, the file name length is calculated based on folder02/folder01/.
    NOTE:

    If an access denial message is displayed when you are creating a folder, the possible causes are as follows:

    • The access permission for the bucket is restricted by the access control list (ACL). For example, the user has no write permission for the bucket.
    • The access permission for the bucket is restricted by the bucket policy. For example, the user is forbidden to write data to the bucket during the current period of time, the user has no write permission for the bucket, or server-side encryption is not enabled in OBS Browser, which is against the bucket policy.

    Consequently, when the message is displayed, check ACL settings and bucket policy settings to resolve the problem.

  5. Click OK.

    A message is displayed indicating that the folder has been successfully created.

Registration