Append File
Append text to a file in the sandbox on a trigger, creating it if it is not there. Emits the file’s path inside the sandbox.
Fired. It runs when an event or a value lands on trigger, and pulls its other inputs at that moment.
Inputs
Section titled “Inputs”| Port | Type | Notes |
|---|---|---|
trigger |
event | Fires the node |
path |
text | Optional |
content |
text | Optional |
Outputs
Section titled “Outputs”| Port | Type | Notes |
|---|---|---|
trigger |
event | |
path |
text |
Right-click a knob and pick Convert to input to drive it from a wire.
| Knob | Kind | Default | Notes |
|---|---|---|---|
path |
text | empty |
Example
Section titled “Example”Adds content to the end of a file in user/data/files on every fire, and creates the file the first time: a log, a journal, a list of summaries. Append adds nothing between writes, so end the content with a new line of your own.
More in Files
Section titled “More in Files”- Delete File: Delete a file in the sandbox on a trigger.
- List Dir: List the names in a folder of the sandbox, fresh each time a node reads it.
- Read File: Read a file’s text from the sandbox, fresh each time a node reads it.
- Write File: Write text to a file in the sandbox on a trigger, creating its folders.