Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use chrome extension filesystem api?

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

like image 281
İkiz Kulelere Dalan Teyyare Avatar asked Dec 23 '12 15:12

İkiz Kulelere Dalan Teyyare


1 Answers

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.

like image 69
Jeffrey Yasskin Avatar answered Oct 11 '22 15:10

Jeffrey Yasskin