List Dir
List the names in a folder of the sandbox, fresh each time a node reads it. A missing folder lists as empty. The default path is the sandbox itself.
Pulled, fresh. It runs every time a node reads its output, so each read gets a new value.
Inputs
Section titled “Inputs”| Port | Type | Notes |
|---|---|---|
path |
text | Optional |
Outputs
Section titled “Outputs”| Port | Type | Notes |
|---|---|---|
json |
json |
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”Lists the names in a folder of user/data/files, sorted, or the whole folder when path is empty. Feed the list to For-each to work through every file.
More in Files
Section titled “More in Files”- Append File: Append text to a file in the sandbox on a trigger, creating it if it is not there.
- Delete File: Delete a file in the sandbox on a trigger.
- 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.