get
In order to get a file from the file storage, use the file/get command.
svc=file/get¶ms={"itemId":<long>,
"storageType":<uint>,
"path":<text>,
"format":<uint>}
Parameters
Parameter | Description |
---|---|
itemId | Item ID. |
storageType | Storage type: |
path | Relative path from the root folder to the file. |
format | Specify "format":1 to get a DDD file in VDO format. |
Response
Returns the file.
If there is no file according to the specified path, an error code is returned:
Invalid input{"error":3}