質問

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.

役に立ちましたか?

解決

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).

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top