After uploading an object to a bucket, you can obtain the URL of the object to download it or share it with other users.

Prerequisites

The object has been uploaded to the bucket. For more information, see Upload an object.

Procedure

  1. Log on to the OSS console.
  2. In the left-side bucket list, click the name of the bucket that you created.
  3. In the overview page of the bucket, click the Files tab.
  4. Click the name of the object that you want to download or share, or click Preview on the right of the object. In the Preview page, you can see the following options:
    • Download: Download the object to your local storage device.
      Depending on how many objects you require, you can also download objects by using the following methods:
      • Download multiple objects: On the Files tab page, select multiple objects, and then choose Batch operation > Download.
      • Download a single object: On the Files tab page, select an object, and then choose More > Download.
    • Open File URL: View an object in a browser. The object that cannot be viewed in a browser (such as Excel files) is downloaded when the URL is opened.
      Warning If the bucket is configured with Referer Whitelist and Empty Referer is not allowed, then the URL cannot be opened directly in a browser.
    • Copy File URL: Copy the URL of the object and share it with other users, so that they can use the URL to view or download the object.
      You can also obtain the URL of an object in the following methods:
      • Obtain the URL of one or more objects: On the Files page, select one or more objects, and then select Batch operation > Export URL List.
      • Obtain the URL of a single object: On the Files page, select More > Copy File URL.
      If you want to share the URL of an object whose ACL is Private, you must set the Validity Period on the Preview page when you want to obtain the URL of an object. The default value of the validity period is 3,600 seconds, and the maximum value is 64,800 seconds.
      Note
      • The validity period of a signed URL is calculated based on NTP. You can share the signed URL of an object to other users so that they can use the URL to access the object within the validity period. If your object ACL is Private, a signature is added to the URL of the objects stored in the bucket. For more information, see Add a signature to a URL.
      • For more information about how to change buckets and objects ACL, see Change bucket ACLand Change object ACL.
    • Copy File Path: Copy the path of the object. You can use the path when searching for the object or adding watermarks to the object (if it is a picture).