This topic describes how to configure a symbolic link for an object by using the OSS console.
Notice You can configure a symbolic link only for a standard object.
- Log on to the OSS console.
- Click Buckets, and then click the name of the target bucket.
- Find the object for which you want to configure a symbolic link. Choose in the Actions column corresponding to the target object.
- 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.
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.
- 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.