I've tried the example like in the documentation:
- Code: Select all
var file = plugins.file.createFile("newfile.txt");
application.output("File erstellt? " + plugins.file.writeTXTFile(file, "some data"));
plugins.file.trackFileForDeletion(file);
The file will be created as expected and I can see it with the system explorer. But the file remains after closing the session and also after closing the developer. This also happens on the live-server. The files will never be removed!
Servoy-Version: 2020.12.1.3623 / NG-Client-Application
Could someone confirm this issue? If yes, I'll open a ticket.
Best
Roland