Skip to content Skip to sidebar Skip to footer

How To Get Local Folder Contents Using Javascript

I am trying to get local folder contents using JavaScript. I have tried the Filesystem API, but I got error like this: DOMException: It was determined that certain files are unsaf

Solution 1:

FileSystem API is currently being supported only on Chrome and Opera http://caniuse.com/#feat=filesystem

Also you need to obtain permissions from the user to access peristent data.

For more info refer to this article : https://www.html5rocks.com/en/tutorials/file/filesystem/#Reading a directory's contents

Post a Comment for "How To Get Local Folder Contents Using Javascript"