This topic describes how to configure a symbolic link for an object by using the OSS console.

Background information

You can configure a symbolic link to point to a frequently accessed object in the target bucket for quicker object access. After configuring a symbolic link for an object, you can use the symbolic link to quickly access the object. A symbolic link works in a similar manner as the shortcut in Windows.
Notice You can configure a symbolic link only for a standard object.

Procedure

  1. Log on to the OSS console.
  2. Click Buckets, and then click the name of the target bucket.
  3. Find the object for which you want to configure a symbolic link. Choose More > Set Soft Link in the Actions column corresponding to the target object.
  4. In the Set Soft Link dialog box that appears, enter a name for the symbolic link object and click OK.
    • Source File (full path): displays the full path of the current object.
    • Symbolic Link File or Folder: Enter a name for the symbolic link object that complies with the symbolic link naming conventions. OSS creates a symbolic link object in the root folder or specified folder based on the name you have specified.
      • To create a symbolic link object in the root folder, enter the symbolic link object name that you have specified without adding the file path. For example, if the value in Source File (full path) is user/myphoto/myphoto.jpg and the object name is myphoto.jpg, OSS creates a symbolic link object named myphoto.jpg in the root folder.
      • To create a symbolic link object in the specified folder, use a forward slash (/) to add the file path when you enter the name of the symbolic link object. For example, if the value in Source File (full path) is user/myphoto/myphoto.jpg and the object name is shortcut/myphoto.jpg, OSS creates a symbolic link object named myphoto.jpg in the specified shortcut/ folder.
      Notice If the name of the symbolic link object such as myphoto whose name myphoto.jpg excludes the jpg extension, you can preview the symbolic link object when you access the object in the OSS console or by using its URL. When you use a tool or the console to download the symbolic link object, the format of the downloaded object is unknown and the object cannot be directly opened. To open the object, add the correct object name extension when you configure the symbolic link object.