• Object Storage Service

obs
  1. Help Center
  2. Object Storage Service
  3. User Guide
  4. OBS Browser Operation Guide
  5. Managing Objects
  6. Uploading a File or Folder

Uploading a File or Folder

You can upload local files or folders to OBS.

Context

Files are uploaded in multiparts on OBS Browser. You can upload a single file up to 48.8 TB in multiparts.

OBS Browser supports resumable transfer. If an upload task is suspended or fails, restart the task. According to the part information recorded in the task, the successfully uploaded parts will not be uploaded again, and other parts will be uploaded.

Procedure

  1. Log in to OBS Browser.
  2. Click the bucket to which you want to upload files or folders.
  3. Click Upload. Then select Upload File.

    You can upload a maximum of 500 files at a time. If you need to upload more files, place the files in a folder and use the Upload Folder function to upload the folder.

  4. Click Select File. In the dialog box that is displayed, select the files that you want to upload. Then click Open.

    You can upload a folder or multiple files at a time. To upload multiple files, hold down Ctrl or Shift to select multiple files. You can also select all the files on the current page by holding down Ctrl+A. The operations are consistent with those on the Windows operating system.

    The file or folder upload progress is displayed on the task management page. You can suspend, run, or cancel an upload task based on site requirements. For details, see section Managing Upload Tasks.

  5. Optional: Select a storage class. If no storage class is selected, the uploaded files or folders will inherit the bucket storage class.
  6. Click OK.
NOTE:
  1. If a message stating "Service Unavailable" is displayed when files are being uploaded, try again later.
  2. If an access denial message is displayed when you are uploading a file or folder, the possible causes are as follows:
  • The access permission for the bucket is restricted by the bucket 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, it is forbidden for users 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 on OBS Browser, which is against the bucket policy.

    If a folder fails to be created, check the settings of the bucket ACL and bucket policy, and change the settings as needed.

Related Operations

If you need to upload more than 500 files, place the files in a folder and use the Upload Folder function to upload the folder.

  1. Log in to OBS Browser.
  2. Click the bucket to which you want to upload files or folders.
  3. Click Upload. Then select Upload Folder.
  4. Click to open the local file browser dialogue box.
  5. Select the folder that you want to upload and click Open.
  6. Optional: Select a storage class. If no storage class is selected, the uploaded files or folders will inherit the bucket storage class.
  7. Click OK.

Follow-up Procedure

You can modify the storage class of the object after uploading the file or folder.

  1. Log in to OBS Browser.
  2. In the bucket list, click the bucket name.
  3. Select the target object and choose More > Change Storage Class on the right.
  4. Select the desired storage class and click OK.

    Pay attention to the following restrictions when you modify the storage class of the object:

    Objects can be changed from the Standard storage class to Warm or Cold; from the Warm to Standard or Cold; from Cold to Standard or Warm but the objects must be restored from the Cold storage first. The latter two changes incur penalty and restoration fees.

    You can also configure a lifecycle rule to transition the storage class of an object. For details, see Lifecycle Management. See Storage Classes Overview for details about differences between changing storage classes in the object list and transitioning storage classes through the lifecycle rule.

  5. In the dialog box that is displayed, click OK.