Skip to content
Sponsor

Read File

Filespulledcore.file.read

Read a file’s text from the sandbox, fresh each time a node reads it. A missing file reads as empty.

Pulled, fresh. It runs every time a node reads its output, so each read gets a new value.

Port Type Notes
path text Optional
Port Type Notes
text text

Right-click a knob and pick Convert to input to drive it from a wire.

Knob Kind Default Notes
path text empty

Reads a text file from user/data/files, fresh every time: notes.md reads user/data/files/notes.md. A missing file reads as empty text, and a path that leaves the folder comes back as an error message instead of the file.

  • 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.
  • List Dir: List the names in a folder of 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.