Dominic
Dominic

Reputation: 3473

FileSystem API: Where are the files and folders located

I'm currently developing a chrome app and need to access local files and directorys. My question is when I create a file or folder where are they located? The extension is currently in my home directory and the created files aren't in the extension directory.

Upvotes: 4

Views: 4320

Answers (1)

pimvdb
pimvdb

Reputation: 154838

The file system API is "virtual" in that you cannot store the files entirely literally on the client's computer. You can only really access them via JavaScript.

Nevertheless, they are stored with different filenames in several directories (having non-intuitive names) in:

%appdata%\Local\Google\Chrome\User Data\Default\File System

Where %appdata% is e.g. C:\Users\xxx\AppData (on Vista).

Upvotes: 3

Related Questions