Summary:
Returns the contents of a symbolic link.
Request specification:
Name |
Min/Max |
Type |
Description |
|
|
|
|
{ |
|
|
|
|
|
|
Path on filesystem. |
|
|
|
Current working directory. If absent, it is set to "/" by default. |
|
|
|
|
Returns:
Name |
Min/Max |
Type |
Description |
|
|
File information structure.
|
Description:
If the path is a symbolic link, returns its contents (what it links to) in file/name
Returns an error otherwise. On systems that do not support symbolic links, the operation will always return an error.
Example:
Input
<packet version="4.0.0">
<dst>
<host>24b9acf5-8ca5-49c9-b7b1-4c93fe048389</host>
</dst>
<target>filer</target>
<data>
<filer>
<readlink>
<veid>103</veid>
<path>L2hvbWUvZWR2dC9kLWVkdnQ=</path>
</readlink>
</filer>
</data>
</packet>
Output
<packet priority="0" version="4.0.0">
<origin>filer</origin>
<target>vzclient84</target>
<data>
<filer>
<file>
<name>L2hvbWUvZWR2dA==</name>
</file>
</filer>
</data>
</packet>