I want to be able to have a web page where I can put links to Word documents so others can view or download them. Is there a way to make this HTML page dynamically display a listing of all of the Word docs in the directory?
Printable View
I want to be able to have a web page where I can put links to Word documents so others can view or download them. Is there a way to make this HTML page dynamically display a listing of all of the Word docs in the directory?
I'd make an ActiveX DLL that is fired when you hit an ASP. In the component I'd use the filescripting object to list all .docs in a specified folder, then I'd generate a HTML table from that list with the documents hyperlinked to their locations.
How do you feel about that? If you want some sample code reply back to the thread.
Thanks for the suggestion. I was kinda wondering if it could be done without ASP, because I do not have ASP permissions on the server. But if I decide to upgrade to ASP, I'll try what you said.
if you have directory browsing allowed, and you don't put a default document in the directory (default.asp, index.html...etc.) then the server will make a list of the contents of the folder.
Ah. Thank you. Maybe I can just do that.