Write To a File

04 July 2016

  • Release 9.100 - added.
writefile (Commands)
TypeCorrade progressive command
Commandwritefile
Parametersgroup, password, path, data, action
DescriptionThe writefile command can be used to write to files on the filesystem that Corrade is running on.
Permissionssystem
Last ChangesRelease 9.100 - added.

The writefile command can be used to write to files on the filesystem that Corrade is running on.

Command Required Parameters Required Corrade Permissions Example
writefile group, password, path, data, action system
llInstantMessage(CORRADE,
     wasKeyValueEncode(
         [
             "command", "writefile",
             "group", wasURLEscape(GROUP),
             "password", wasURLEscape(PASSWORD),
             "action", "create",
             "path", "test.txt",
             "data", "Good day!",
             "callback", wasURLEscape(URL)
         ]
     )
 );
Parameter Possible Value Meaning
path A local path to a file. Write to the file specified by this path.
action create Create or overwrite a file if it already exists.
append Append to a file if it already exists.
data The string to write to the file. The data to write or append to the file.

secondlife/scripted_agents/corrade/api/progressive/commands/writefile.txt ยท Last modified: 2017/02/22 18:29 (external edit)

Access website using Tor


For the copyright, license, warranty and privacy terms for the usage of this website please see the license and privacy pages.