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/commands/writefile.txt ยท Last modified: 2022/11/24 07:46 by 127.0.0.1

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


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