How can I get a list of all files in a directory on a webserver?
April 20, 2007 8:09 AM Subscribe
I think the title explains it all:
I'm looking to get a list of all files in a specific directory from a web server- www.site.com/docs/. The thing is, there's an index.htm file in that directory so if I browse to it, I just get the index file. Is there any way to find out the names of all files in that directory, scripting or otherwise?
I don't have access to the system other than through the standard web interface(ie: no shell, etc.) Any ideas?
posted by newatom to computers & internet (13 answers total) 1 user marked this as a favorite
The only thing that might help you is a google search (or the yahoo/msn equivalent) that looks something like one of these
site:site.com inurl:docs
site:www.site.com inurl:docs
What that's saying is only search the site.com domain, and the word "docs" must be in the URL. This will only work, however, if the files in that directory were linked to at one point, and the search engine spider grabbed that page.
posted by alan at 8:22 AM on April 20, 2007