Read a File

04 July 2016

  • Release 9.100 - added.

<data Commands> Type: Corrade progressive command Command[wiki]: readfile Parameters[wiki]: group, password, path Description[wiki]: The readfile command can be used to read a file from the filesystem that Corrade is running on. Permissions[wiki]: system Last Changes[wiki]: Release 9.100 - added. </data>

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.