Skip to content

Rename File

Renames a file on the server.

Permissions

Command KindNeeded User Kind
WriteAdmin, Designer, Sys

Parameters

NameTypeDescriptionRequiredDefaultValues
FilestringName/path of the file ([Directory/File]). The root directory is the 'Files' directory of the database on the server.yes
NamestringNew name of the file ([Name]).yes

Result

NameTypeDescription
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
RENAME FILE
FILE=[string, Needed]
NAME=[string, Needed]