I want to create / write to file using javascript from local file. I can read local files using
$.get('file.txt', function (data) {
//my code
}, 'text');
Is there similar way to write to files? It is and will all be done locally, from file to file. Also I can not really use local storage for my purposes.
Edit: I do not want to output blob. And for what I am trying to create - I have this lets call it puzzle that user tries to solve. And I want to log time when he started and when he ended. I do not want them to see their files, becouse they could edit them, same as local storage can be edited or cleaned. I want to create and edit local file without users knowledge. It will all be done locally on my computer.