04 July 2016

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

CommandRequired ParametersRequired Corrade PermissionsExample
readfilegroup, password, pathsystem
llInstantMessage(CORRADE,
     wasKeyValueEncode(
         [
             "command", "readfile",
             "group", wasURLEscape(GROUP),
             "password", wasURLEscape(PASSWORD),
             "path", "test.txt",
             "callback", wasURLEscape(URL)
         ]
     )
 );
ParameterPossible ValueMeaning
pathA local path to a file.Read the file specified by this path.