Read/Write Files from Disk

Read a file from the machine of the worker, or write one to it.

Built inSource

How it fits in a workflow

Read/Write Files from Disk (file.disk) is a built-in files step included with every zerodot server—no package install required. Connect it after a trigger or any earlier step on the canvas.

Supported operations

  • Read a file from disk
  • Write a file to disk

Options

  • operationstring

    readwrite

    Starts as "read"

  • pathstring · required

    Relative to the folder in ZERODOT_FILES_DIR. The operator must set that variable.

  • propertystring

    Read: the file goes to binary.<property>. Write: the file comes from it.

    Starts as "data"

  • appendboolean

    Write only: add to the end of the file, and do not replace it

    Starts as false

Guides and related hubs