Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I am new to extension objects and I am trying to find the answer to the rather basic question about file I/O.
Is it possible to read/write to a file through a QV-extension object and if it is, could I get some pointers on what functions to use and where to find the documentation about them?
Thank you in advance!
Short answer: you can't. Extension objects are primarily written in javascript that's executed in the browser. it would be a major security flaw if your browser could create files on your local computer.
Create a webservice and talk with that.
Short answer: you can't. Extension objects are primarily written in javascript that's executed in the browser. it would be a major security flaw if your browser could create files on your local computer.
Create a webservice and talk with that.
Hi.
Google the words: Client-Side Storage - HTML5 Rocks
Just a word of warning as you would be operating with computer specific key value pairs without any transactional security if you go the localstorage route.
The IndexedDB api could be interesting but that would rule out IE9 and below and Safari.
Hi,
I was afraid this would be the case so I will find a different solution to my problem.
Thanks for your replies!