write

This block is part of the files group and was last modified in core v10.4.28.

write v10.4.28

Generates or overwrites a file with the new content

In pins 3 + flow
  • flow
    flow
  • file required
    value

    Name of the file within your assets, this could include the path like public/export.xml

  • content required
    value
  • encoding
    value

    Default utf-8

Out pins 3 + flow
  • flow
    flow
  • success
    condition
  • file
    file
  • error
    value
file create
file write

A typical wiring for write: a function trigger starts the flow; value feeds the file pin; value feeds the content pin; the flow out pin feeds debug.

Studio canvas example for the write block: typical wiring for write.

Version history

Introduced in v10.4.28.


Back to files Return to the main group to view all sub-groups Back to file modification Return to the group to view all blocks within this group