cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: File scheme: read directory

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 9 Nov 2011 19:06:28 +0100 (CET)

On Tue, 8 Nov 2011, Patrick Monnerat wrote:

> I'm planning to replace an FTP access via libCurl by an NFS access (still
> via libCurl, to reduce source changes). Unfortunately, my application uses
> FTP to list the content of a directory and this operation is impossible yet
> with the file:// scheme.
>
> Is this just a missing feature ? Or is this "by design" for some
> security/compatibility/standard reason ? I searched through the archives for
> a previous talk about the same subject, without success.

It is "just" a missing feature. We already "fake" directory listings with SFTP
and I consider the situation very similar for FILE URLs.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-11-09