GitHub user breautek added a comment to the discussion: Cordova browser writing 
to persistent filesystem

> Can I get to the actual file that is being written on the file system.

Depends on what you mean by this. If you can read the actual file from outside 
the browser? Then no, the filesystem API on the browser is sandboxed. It uses 
the browser API if available (e.g. on Chrome) otherwise it fallsback to an 
IndexedDB implementation. Both implementations are sandboxed/virtual 
filesystems. No file is actually stored on the physical disk (in a traditional 
sense).

You can use the filesystem APIs to read the file however from within your app.

Relevant Links:
- [More on Browser 
Quirks](https://github.com/apache/cordova-plugin-file?tab=readme-ov-file#browser-quirks)
- [Read File 
Example](https://github.com/apache/cordova-plugin-file?tab=readme-ov-file#read-a-file-)


GitHub link: 
https://github.com/apache/cordova/discussions/472#discussioncomment-8878094

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to