Skip to content

Show Files

Shows the files of a directory.

Permissions

Command KindNeeded User Kind
ReadAdmin, Designer, Sys

Parameters

NameTypeDescriptionRequiredDefaultValues
DirectorystringPath of the directory and file extension ([Directory]). The root directory is the 'Files' folder of the database on the server, e.g. Studio/Import/*.txtno
OnlyDirectoriesbooleanIf 'True' only directories are shown. The default value is 'False'.nofalse
SubDirectoriesbooleanIf 'True' the sub directories are also shown. The default value is 'True'.notrue

Result

NameTypeDescription
LevelintegerLevel of the file or directory.
KindstringKind of the file: File or Directory.
NamestringName of the file.
FilestringName and path of the file.
ParentstringParent directory of the file.
SizenumberSize of the file in kilobyte.
PermissionsintegerNumber of permissions of the file.

Code

text
SHOW FILES
DIRECTORY=[string]
ONLYDIRECTORIES=[boolean, default=false]
SUBDIRECTORIES=[boolean, default=true]