Read a File

04 July 2016

  • Release 9.100 - added.
readfile (Commands)
TypeCorrade progressive command
Commandreadfile
Parametersgroup, password, path
DescriptionThe readfile command can be used to read a file from the filesystem that Corrade is running on.
Permissionssystem
Last ChangesRelease 9.100 - added.

The readfile command can be used to read a file from the filesystem that Corrade is running on.

Command Required Parameters Required Corrade Permissions Example
readfile group, password, path system
llInstantMessage(CORRADE,
     wasKeyValueEncode(
         [
             "command", "readfile",
             "group", wasURLEscape(GROUP),
             "password", wasURLEscape(PASSWORD),
             "path", "test.txt",
             "callback", wasURLEscape(URL)
         ]
     )
 );
Parameter Possible Value Meaning
path A local path to a file. Read the file specified by this path.