Create folder

You may create new folder in file storage by using this file/list-command:

svc=file/mkdir&params={"itemId":<long>,
		      "storageType":<uint>,
		      "path":<text>}

Params

Param Description
itemId element id
storageType storage type:
1 – public(all users may see/download
files ),
2 – protected (that users may see/down-
load files who being grant rights)
path relative path from root folder to the file

Response

{} /* empty object if execution successful, if not - error code */

IF the path does not exist then:

{
    "error": 5
}