I have a URL that I would like to get a directory listing of the files and directories it contains. It really points to the UNC path \\drawings.ejiw.com\vol1\drawings\pdfs.
I have a program that takes the UNC path and instatiates a new File object. From this I can call listFiles() and get my list.
And if I enter the URL in IE it gives me a directory listing. I guess this is some option on the web server.
The web server listing is fine for now, but I'd really like to have it match the rest of our site and have some email links. Also the users are not going to have access to the UNC path, only the URL. So, is there a way to get a directory listing from a URL in Java?
Thanks,
Jon Mitchell
I have a program that takes the UNC path and instatiates a new File object. From this I can call listFiles() and get my list.
And if I enter the URL in IE it gives me a directory listing. I guess this is some option on the web server.
The web server listing is fine for now, but I'd really like to have it match the rest of our site and have some email links. Also the users are not going to have access to the UNC path, only the URL. So, is there a way to get a directory listing from a URL in Java?
Thanks,
Jon Mitchell