Skip to content

Get File

Shows the text of a file.

Permissions

Command KindNeeded User Kind
ReadAll

Parameters

NameTypeDescriptionRequiredDefaultValues
FilestringName/path of the file ([Directory/File]). The root directory is the 'Files' directory of the database on the server.yes
Base64booleanIf 'True' the file is base64 encoded. The default value is 'False'. This is useful if file is not a text file.nofalse

Result

NameTypeDescription
TextstringText of the file. If 'Base64' is 'True' the file is shown in base 64 format.

Code

text
GET FILE
FILE=[string, Needed]
BASE64=[boolean, default=false]