Torch Object Storage
Operation | Content returned |
When you use GetObject to download a symlink, the content returned varies depending on the parameters:
| |
When you use HeadObject to obtain object metadata, the content returned varies depending on the parameters:
| |
Operations other than GetObject and HeadObject | Only symlink information will be returned. Target object information will not be returned. |
Category | Considerations |
Region | The symlink and the object it points to must reside in either the same region and bucket or the same region but different buckets. You cannot place a symlink and its target in different regions. |
Permissions | TOS does not check if the creator has permission to access the target object when creating a symlink. However, when you try to access the target object via the symlink, TOS checks if your account has read permissions for both the symlink and the target object. Make sure your account has the necessary permissions. Otherwise, access will fail. |
Quantity | The number of symlinks that can be created for a single object is unlimited. |
Storage type | A minimum charge applies to objects stored in types such as Infrequent Access Storage and Flashback Archive, based on the size of the object. Objects smaller than 64 KiB are charged as if they were 64 KiB. For Standard Storage, if the number of objects smaller than 64 KiB in a given region is under 1 billion, the storage cost for that region is calculated based on the actual size of those objects. A symlink is usually less than 64 KiB. To avoid unnecessary charges, set the storage type of symlinks to Standard Storage. |
Operations | Operations performed on a symlink, such as changing its storage type or deleting it, only affect the symlink itself and do not apply to the target object. |
Category | Description |
Creation restrictions |
|
Access restrictions |
|
Feature restrictions | The following features are not supported for symlinks:
|
TOS Browser restrictions | Use TOS Browser 1.8.1 or later to download symlinks. |
Parameter | Description |
Symlink Bucket | Select a bucket in which to store the symlink. You can only select a bucket located in the same region as the target object. |
Symlink Path | Select a positioning type and set the storage path for the symlink within the bucket:
tip If the target object and the symlink are in different buckets and the target's path structure does not exist in the symlink's bucket, the relative path will be resolved from the root directory of the symlink's bucket instead.
After selecting the positioning type, enter the path according to the following requirements:
Example: aaa/bbb/filename |