Appearance
Show Files
Shows the files of a directory.
Permissions
| Command Kind | Needed User Kind |
|---|---|
| Read | Admin, Designer, Sys |
Parameters
| Name | Type | Description | Required | Default | Values |
|---|---|---|---|---|---|
| Directory | string | Path of the directory and file extension ([Directory]). The root directory is the 'Files' folder of the database on the server, e.g. Studio/Import/*.txt | no | ||
| OnlyDirectories | boolean | If 'True' only directories are shown. The default value is 'False'. | no | false | |
| SubDirectories | boolean | If 'True' the sub directories are also shown. The default value is 'True'. | no | true |
Result
| Name | Type | Description |
|---|---|---|
| Level | integer | Level of the file or directory. |
| 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
SHOW FILES
DIRECTORY=[string]
ONLYDIRECTORIES=[boolean, default=false]
SUBDIRECTORIES=[boolean, default=true]