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: John Stracke <francis@ecal.com>
Date: Tue, 26 Jun 2001 10:33:26 -0400
Message-ID: <3B389D36.5784554E@ecal.com>
To: Daniel.Veilleux@LibertyMutual.com
CC: http-wg@cuckoo.hpl.hp.com
Daniel.Veilleux@LibertyMutual.com wrote:

> 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.

This can't happen unless the server permits it.  If you have control of the
server, look into WebDAV (RFC-2518, http://www.webdav.org), which lets you use
a PROPFIND method to list the files.

--
/==============================================================\
|John Stracke    | http://www.ecal.com |My opinions are my own.|
|Chief Scientist |=============================================|
|eCal Corp.      |"You're nothing but a pack of ringleaders!"  |
|francis@ecal.com|--_Wyrd Sisters_, Terry Pratchett            |
\==============================================================/
Received on Tuesday, 26 June 2001 15:32:45 EDT

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