Appearance
Rename File
Renames a file on the server.
Permissions
| Command Kind | Needed User Kind |
|---|---|
| Write | Admin, Designer, Sys |
Parameters
| Name | Type | Description | Required | Default | Values |
|---|---|---|---|---|---|
| File | string | Name/path of the file ([Directory/File]). The root directory is the 'Files' directory of the database on the server. | yes | ||
| Name | string | New name of the file ([Name]). | yes |
Result
| Name | Type | Description |
|---|---|---|
| Kind | string | Kind of the file: File or Directory. |
| Name | string | Name of the file. |
| File | string | Name and path of the file. |
| Parent | string | Parent directory of the file. |
| Size | number | Size of the file in kilobyte. |
| Permissions | integer | Number of permissions of the file. |
Code
text
RENAME FILE
FILE=[string, Needed]
NAME=[string, Needed]