Where is the PERSISTENT file system storage with chrome stored?

When you do webkitRequestFileSystem in window.PERSISTENT option in Google Chrome, where are files written to my file system? I would like to delete the files there, and Chrome interacts with them while I create and debug this application.

+41
filesystems html5 google-chrome html5-filesystem
Jul 26 '12 at 19:24
source share
5 answers

For me, at least on Mac OSX, they are stored under /Users/USERNAME/Library/Application Support/Google/Chrome/Default/File System for me. If you use profiles, profile directories will be created instead of Default . However, every source stored in files / folders gets confused in directories with which it will not be easy for you to interact.

You have several options for debugging the file system API:

+37
Jul 26 '12 at 19:59
source share
— -

In Windows XP, it is located here: c:\Documents and Settings\USERNAME\Local Settings\Application Data\Google\Chrome\User Data\Default\File System\ .

On Windows 7, the location is C:\Users\USERNAME\AppData\Local\Google\Chrome\User Data\Default\File System .

It is not very useful to look at it because the file names and dir are confused (but the contents in the files are not changed).

As ebidel wrote, the best way is to use the filesystem: browser filesystem: URLs included in Chrome. Fine! You can get the URL using fs.root.toURL() , where fs is the FileSystem object that you get, for example, from window.webkitRequestFileSystem() .

+17
Mar 01 '13 at 20:10
source share

Just for completeness: on linux, it goes to ~ / .config / google-chrome / Default / File \ System /

+16
Mar 13 '13 at 3:32
source share

It seems that the file system repository is encoded so as not to try to do it for sure. As a result, I wrote a very simple simple file manager, available here . Start any web server (I like mongoose for setting it to 0) and go to /filemanager.html route

+5
Feb 13 '13 at 16:56
source share

I saved a file called log.txt on MAC

This ended up ~ / Library / Application \ Support / Google / Chrome / Default / Storage / ext / panbljeniblfmcakpphmjmmnpcaibipi / def / File \ System / iso / p / 00 /

with file name 00000 and no ext

+1
Sep 19 '13 at 21:15
source share



All Articles