Aug 15, 2019 12:05 PM|PatriceSc|LINK
For safety reason a browser is not supposed to be able to read/write a client side file without any user action (using ActiveX is outdated and anyway it required changing security settings by hand or automatically on enterprise managed computers).
What is the exact scenario ? The usual approach is to have the user selecting a file using the input type="file" tag. You can then access the content of this file (most often but not limited to uploading this content) and you can then also trigger a file
save (with once again the user telling explicitly which file to write).
Or see https://developers.google.com/web/fundamentals/instant-and-offline/web-storage/offline-for-pwa#current_and_future_offline_storage_work depending
on your exact need ?