Reputation:
Is there a way to get all of the available files in a certain path with javascript?
An example would be that the user would type a place of a folder into an <input> like "C:\Program Files" and JavaScript would get some array of all the available folders in their Program Files folder.
Upvotes: 0
Views: 97
Reputation: 2277
No, JS doesn't have access to the file system / hierarchy. Server side JS is a different story but I think you don't mean to ask about it.
Upvotes: 1