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
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