Web Server Query

This is a discussion on Web Server Query within the Tech Board forums, part of the Community Boards category; I had a thread a while ago about web server directories and want to know if anyone has come across ...

  1. #1
    Caffienated jinx's Avatar
    Join Date
    Oct 2001
    Posts
    235

    Web Server Query

    I had a thread a while ago about web server directories and want to know if anyone has come across any software that can query a web server and return a directory listings of present files. I.E. in DOS, you type dir <path> and it returns a listing. Is there a piece of software that does the same via the net? I had a few "net walking" programs that downloaded whatever it found under a certain file mask or otherwise...but any that just return a file list?
    Weeel, itss aboot tieme wee goo back too Canada, eeehy boyss.

  2. #2
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    Nope.
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  3. #3
    Caffienated jinx's Avatar
    Join Date
    Oct 2001
    Posts
    235
    Are you sure? Why then can I search and D/L a server for a certain file mask? Couldn't it be possible just to see what files were being *about to be downloaded but instead just return a list with paths, etc.?
    Weeel, itss aboot tieme wee goo back too Canada, eeehy boyss.

  4. #4
    sockets mad
    Join Date
    Mar 2002
    Posts
    126
    No, this is not possible because of the nature of HTTP. THe only time you are able to get a directory index from a web server is when there is no index file in that directory and the web server is set up in such a way as to allow directory index listing. Even then you will only get an HTML formatted "Index of" page, which you would have to parse.

    This is intentional, as allowing the file structure of a web server to be viewed freely is a security risk.
    C/C++ Support IRC Channel

    Server: irc.dal.net Channel: #csupport

    Come along and help make it a great resource for the community.

  5. #5
    5|-|1+|-|34|) ober's Avatar
    Join Date
    Aug 2001
    Posts
    4,429
    I used to use a program like this... it wouldn't give me a listing in the browser, but if you plopped a url into the program, it showed you every file that was in that directory... that was a few years ago however and security might be tighter now.

    ahh... found it: http://gozilla.com/index.htm

    Gozilla!

  6. #6
    5|-|1+|-|34|) ober's Avatar
    Join Date
    Aug 2001
    Posts
    4,429
    hmm... except it was free when I used it.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Server Architecture
    By coder8137 in forum Networking/Device Communication
    Replies: 2
    Last Post: 01-29-2008, 10:21 PM
  2. Unicode vurses Non Unicode client server application with winsock2 query?
    By dp_76 in forum Networking/Device Communication
    Replies: 0
    Last Post: 05-16-2005, 07:26 AM
  3. SWEBS Web Server
    By nickname_changed in forum A Brief History of Cprogramming.com
    Replies: 6
    Last Post: 09-22-2003, 02:46 AM
  4. Web Server in Router Network...
    By Aidman in forum Tech Board
    Replies: 15
    Last Post: 01-17-2003, 09:24 PM
  5. socket question
    By Unregistered in forum C Programming
    Replies: 3
    Last Post: 07-19-2002, 01:54 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21