Previous page

Next page

Locate page in Contents

Print this page

readlink

Summary:

Returns the contents of a symbolic link.

Request specification:

Name

Min/Max

Type

Description

readlink

 

credType

 

{

 

 

 

path

1..[]

base64Binary

Path on filesystem.

cwd

0..1

base64Binary

Current working directory. If absent, it is set to "/" by default.

}

 

 

 

Returns:

Name

Min/Max

Type

Description

file

0..[]

fileType

File information structure.

Linux 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.

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>

Please send us your feedback on this help page