9

Hi as example i want to read

c:/x.txt

as text

and write? is there any example about chrome.fileSystem ?

Notice : I don't want to ask the path of file to user

1 Answers1

3

Already answered at Chrome Extension HTML Filesystem Access, I think. Note that chrome.fileSystem only exists in apps, not extensions.

To just read files, try asking for the file:///* host permission.

Community
  • 1
  • 1
Jeffrey Yasskin
  • 5,171
  • 2
  • 27
  • 39