Skip to content
Sponsor

Delete File

Filesfiredcore.file.delete

Delete a file in the sandbox on a trigger. Deleting a file that is not there does nothing. 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.

Port Type Notes
trigger event Fires the node
path text Optional
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

Deletes a file in user/data/files when trigger fires. A file that is already gone is not an error, and a folder is never deleted.

  • Append File: Append text to a file in the sandbox on a trigger, creating it if it is not there.
  • 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.