AnsweredAssumed Answered

append to text file

Question asked by paul.haakma on Aug 13, 2015
Latest reply on Aug 16, 2015 by paul.haakma

Might be a simple question.... in the QML extras there is the FileFolder object, which has methods to write to file or text files. But they seem to just overwrite any existing file - is there a way to append instead?

 

FileFolder{

id: myfileFolder

path: "c:/myfolder"

}

 

myfileFolder.writeTextFile("myFile.txt", "my message to add")

myfileFolder.writeFile("myFile.txt", "my message to add")

Outcomes