Skip to content

File Write

Writes a data stream to a file.

Writes a data stream to a file at the specified path.

Important#

  • If the file does not exist, it will be created.
  • If the file already exists, its contents will be overwritten.

Execution Outputs#

  • Success: Executes if the file is written successfully.
  • Error: Executes on any error, such as an invalid path or insufficient permissions.

Inputs#

Port Description
Exec
Triggers the node to execute.
Path
The file path to write the data to.
Data
The data stream to write to the file.

Outputs#

Port Description
Success
Executes if the file is written successfully.
Error
Executes if an error occurs during the write operation.

ID: core/file-write@v1