|
file.link
|
| |
|
description
Link a file from a relative source to relative destination inside one site.
User should have site filesystem privilege on source/dest site.
(This feature is only available on Unix OS).
privilege-required
anyone
tx-support
false
|
| |
|
INSTRUCTION
|
|
name
|
type
|
default-value
|
required
|
description
|
| destination-site-id |
integer |
none |
false |
(User should have filesystem access privilege in the given site). Site to where the destination file will be copied. |
| source-uri |
string |
none |
true |
URI of the source file. |
| source-site-id |
integer |
none |
false |
(User should have filesystem access privilege in the given site). Site from where the source file will be copied. |
| destination-uri |
string |
none |
true |
URI of the destination file. |
|
| |
|
ERROR
|
|
|
id
|
msg
|
| 1 |
Source file does not exist |
| 2 |
Destination file does not exist |
| 10 |
User do not have file system access privilege in source or destination site |
| @TEMP_FOLDER_RESTRICT@ |
@TEMP_FOLDER_RESTRICT_MSG@ |
| 11 |
Unknown site Id |
|
| |
|
EXAMPLE
|
|
|
example 1
|
<nvd:command name="file.link"
source-uri="/source/file.xml" destination-uri="/dest/file2.xml"
source-site-id="10" destination-site-id="20" />
|
|