Write file🔗

Writes the input data into a new file or appends the data to an existing file.


  • fileName: Full path of the file to write.

  • data: A string or a blob to write to the file. If a string is received, it will be UTF-8 encoded.

  • append: If true, the new data will be written to the end of the file.


  • success: true if the string was successfully written and false otherwise.