filereader - Javascript open File on Firefox -


is possible open file javascript?

its local have index.html in javascript should read text file in same direction called readtext.txt

i heard there security restrictions if local shouldn't work? if no there workaround? i've googled , found mozilla filehandleapi doesn't work me

the short answer no, you're attempting not work.

the longer answer: that's not how web works, on local machine. strictly client/server relationship: browser doesn't (and shouldn't) care client , server in case same machine. far browser knows, readme.txt file on 'server' , needs fetched ajax call. browser (for security reasons mentioned) can (for our purposes here) manipulate client files creates. filehandle api purpose.


Comments

Popular posts from this blog

searchKeyword not working in AngularJS filter -

sequelize.js - Sequelize: sort by enum cases -

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -