I would like to list the directory that my current website will be in as a browsable tree (similar to the way a web browser lists a directory if there are no index files present) – basically, an FTP listing. However, I can’t use PHP because the server I’m developing for does not support PHP (or any similar tools as far as I’m aware). I do have access to JQuery, and Java and Flash applets, though.
My question is, first of all, is that even possible? I know I can make a link that will make the browser list the directory for me, but I want this embedded within my own website (i.e. inside a div). I would prefer doing it all with just JQuery/Javascript. I’m also fairy fluent in Java, but I don’t know if I can list directories in an unsigned applet.
If your server is set to list directories, you can send an XHR for the directory you want and parse the returned HTML. However, you’d be better off providing a web service that lists directories for you.