user13247772
user13247772

Reputation:

JavaScript get available files in path

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

Answers (1)

Dennis Kozevnikoff
Dennis Kozevnikoff

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

Related Questions