cURL / Mailing Lists / curl-library / Single Mail

curl-library

[ curl-Patches-844036 ] Directory listing support for file:///dir/

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Mon, 17 Nov 2003 14:31:39 -0800

Patches item #844036, was opened at 2003-11-17 14:31
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=300976&aid=844036&group_id=976

Category: file://
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: David Hull (dlhull)
Assigned to: Daniel Stenberg (bagder)
Summary: Directory listing support for file:///dir/

Initial Comment:
The attached patch adds (filename-only) directory
listing support
for file: URLs to curl.

With an ftp: URL, fetching a directory name (with a
trailing slash)
gives a listing of that directory. However, with a
file: URL, fetching
a directory name (with or without the trailing slash)
returns the raw
binary data for the directory.

This patch causes curl to return a list of files when
given a file: URL
that specifies a directory name with a trailing slash.
(Without the
trailing slash, it returns the raw directory data as
before.)

David Hull

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=300976&aid=844036&group_id=976

-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
Received on 2003-11-17