Reputation: 74094
I'm helping a coworker to code an html page that has to display contents (documents) of a local network share. Html page will not be served by any web server, it will be just a plain html page on file system.
Does anyone know some Javascript libraries that let users browse the share, listing files and folders?
Upvotes: 0
Views: 5444
Reputation: 27423
No, it doesn't exist. Same origin policy makes this problematic.
If such a javascript existed it would have to be served by the system and port that the file share was on. Which sounds like it defeats the point.
Now there is an index listing service built into most web servers that can list the contents of a web folder for a browser. There is also a similar capability in the browser for ftp.
Upvotes: 1