Read a directory listing?
I need a javascript app that will read a folder and display the files/folders in a list box and let the user click on one of the entries in that box and jump to that page.
Any ideas?
Web Development
I need a javascript app that will read a folder and display the files/folders in a list box and let the user click on one of the entries in that box and jump to that page.
Any ideas?
by nikki96
Javascript does not have the security permissions to access the user's computer that way. You need an ActiveX component for that.
From the FAQ for comp.lang.javascript...
4.3 How can I access the client-side filesystem?
Security means that by default you can't. In a more restricted enviroment, there are options (e.g. live connect to Java in NN, and using FileSystemObject in IE) check http://groups.google.com/ for previous posts on the subject.
http://msdn.microsoft.com/library/en-us/script56/html/jsobjFileSystem.asp
http://www.javaworld.com/javaworld/jw-10-1998/jw-10-apptowin32.html
HTH
~kaeli~
This discussion is closed to new replies.
Sort by Trending