W3C home > Mailing lists > Public > ietf-http-wg-old@w3.org > May to August 2001

RE: How do I get a directory listing using a HTTP Get

From: Schilling, Richard <RSchilling@affiliatedhealth.org>
Date: Tue, 26 Jun 2001 10:32:29 -0700
Message-ID: <51FCCCF0C130D211BE550008C724149E011656A1@mail1.affiliatedhealth.org>
To: "'http-wg@cuckoo.hpl.hp.com'" <http-wg@cuckoo.hpl.hp.com>

You might try setting up a CGI script that gets the directory information
and sends it back as plain text.  Your program can then open a socket to the
web server, and read the list of returned files like a text file.  Really
easy to do in Java.


Richard Schilling
Webmaster / Web Integration Programmer
Affiliated Health Services
Mount Vernon, WA USA
http://www.affiliatedhealth.org
phone: 360.856.7129


> -----Original Message-----
> From: Daniel.Veilleux@LibertyMutual.com
> [mailto:Daniel.Veilleux@LibertyMutual.com]
> Sent: Tuesday, June 26, 2001 6:16 AM
> To: http-wg@cuckoo.hpl.hp.com
> Subject: How do I get a directory listing using a HTTP Get
> 
> 
> 
> I would like to write a program that goes to a web site and 
> does an HTTP GET
> and instead of coming back with an HTML page, I would like to 
> come back with
> a directory listing of files.  The HTML page will contain 
> links to the files
> in the same directory but instead of having to parse the HTML 
> page for the
> file names I would like to just get a directory listing as 
> this would make
> the downloading of these files easier.  Does anyone know of a 
> way to do
> this?
> 
> Dan Veilleux
> Electronic Commerce
> Liberty Mutual
> 
Received on Tuesday, 26 June 2001 18:31:40 EDT

This archive was generated by hypermail pre-2.1.9 : Wednesday, 24 September 2003 06:33:43 EDT