ebidel/filer.js

Where on my disk can I find file I have created?

Closed this issue · 3 comments

So, I created script like this.

var filer = new Filer();
filer.init({persistent: true}, function (fs) {
    console.log('success');
    test();
}, onError);
function test() {
    // create new file
    filer.create('myFile.txt', false, function(fileEntry) {

    }, onError);
}

after listing files under root I see my "myFile.txt"

filer.ls('..', function (entries) {
        console.log(entries);
    }, onError);

But where can I find it physically?

http://stackoverflow.com/questions/37940927/where-can-i-find-file-i-created-with-javascript-file-api-using-filer-js

The short answer is that you really can't. IIRC, you used to be able to drill into Chrome's Application folder and find these files under resources. But it's non-obvious where they are. Furthermore, the actual file names are obfuscated by the browser.

How can I read *.txt file from my *.js file if this text file located at the same root as script does? Is it possible?