04 July 2016
<data Commands>
Type: Corrade progressive command
Command[wiki]: writefile
Parameters[wiki]: group
, password
, path
, data
, action
Description[wiki]: The writefile
command can be used to write to files on the filesystem that Corrade is running on.
Permissions[wiki]: system
Last Changes[wiki]: Release 9.100 - added.
</data>
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. |
For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.