Listing filenames

Hi,

Is there a simple way to list filenames in a local folder or current html folder? I don’t want to do anything other with the files other than list them for the user so they can see what files they have in local folder.

Note: this will not run online, the html file will be run from the users local pc.

any help is appreciated

If it’s just for use locally, and you can ensure the user/s are on Chrome, you can use this API. It’s designed for Chrome apps to use.

Otherwise, you can’t really access a user’s filesystem from a web page, there is security sandboxing in place to stop you doing it. Solution would be to run a server application (for example a Node app) that reads the filesystem and renders out an HTML page.