Picture of Daniel 450
Registered 14 years 165 days
Daniel 450 Thursday, 30 March 2023, 04:54 PM
JS write and delete files
Hello,

i read in the documentation, that it should be possible to have read access to files next to the db files solution.
https://sdk.innovaphone.com/13r3/doc/javascript/FileSystem.htm
When could we plan to do also write and delete files with this api?
It would be great to have this possibility, because this forces us to do such apps in c++ then in js. But we want to do them in js.

Picture of Matthias Schertler (innovaphone)
Moderator Registered 12 years 126 days
Matthias Schertler (innovaphone) Friday, 11 August 2023, 01:09 PM
Re: JS write and delete files
Hi Daniel,

the FileSystem library was intended for a very special purpose (reading configuration files in our upcoming Kubernetes solution).

We don't actually plan to add general file system access to the JS SDK at the moment. As backups only include the database content, we disencourage using persistent files in apps, as this would leave the app data inconsistent after backup/restore.

BR
Matthias
← You can define your color theme preference here