• Object Storage Service

  1. Help Center
  2. Object Storage Service
  3. User Guide (S3cmd)
  4. Operation Guide
  5. Object Management
  6. Downloading an Object

Downloading an Object

You can download your objects stored on OBS to your local client.


  1. Open the command line tool.
  2. Run the following command to download an object from OBS to a specific local path:

    s3cmd get s3://my-bucket/object local-dir

    • my-bucket/object is the object that you want to download. This object can be a file or folder.
    • local-dir is the local path that stores the downloaded object. If you specify a local path that does not exist, S3cmd will automatically create this path:

  3. (Optional) Run the following command to check whether the object is successfully downloaded:

    ls local-dir