Hello, I am no expert but the little experience i have tells me that from within a browser you cannot write to the local file-system. I am working in the NodeJS environment and have access to the NodeFS file-system which is capable of writing to the users local filesystem.
Maybe someone else could clarify if it is possible. Thank you, Michael Uman Sr Software Engineer - Sigma Designs uCode Tools On Thursday, August 10, 2017 at 3:17:41 AM UTC-7, Wanghb Wang wrote: > > Can I save the "IndexedDB" file into disk?? > > 在 2017年8月10日星期四 UTC+8下午6:13:53,jj写道: >> >> IDBFS uses browser's IndexedDB to persist the files. See >> https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API and >> https://developer.mozilla.org/en-US/docs/Tools/Storage_Inspector. >> >> 2017-08-10 13:08 GMT+03:00 Wanghb Wang <wang...@gmail.com>: >> > I learn from the website >> > >> https://kripken.github.io/emscripten-site/docs/api_reference/Filesystem-API.html. >> >> >> > I use the followed code to create a file, However, I cannot find the >> file. >> > Where is it? >> > EM_ASM( >> > FS.mkdir('/IDBFS'); >> > FS.mount(IDBFS,{},'/IDBFS'); >> > FS.syncfs(true, function(err){ >> > assert(!err); >> > >> > open("/IDBFS/moar.txt", "r+"); >> > // fopen("/IDBFS/test.test.pcm","wb"); >> > }); >> > ); >> > >> > >> > -- >> > You received this message because you are subscribed to the Google >> Groups >> > "emscripten-discuss" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> an >> > email to emscripten-discuss+unsubscr...@googlegroups.com. >> > For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-discuss+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.