cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: How can I get Directory listing with HTTP

From: Avinash <pavinash_at_gmail.com>
Date: Tue, 18 May 2010 10:05:48 +0530

Yes right. Let me rephrase it.
I want know the list of files that I can download using cURL when I give
input an HTTP URL.
I only want to download the list and not all files in order to know in prior
the metadata like number of files, their sizes etc.

Is there any way to do it using cURL/wget ?

Thanks,
Pravin

On Tue, May 18, 2010 at 2:05 AM, Kamil Dudka <kdudka_at_redhat.com> wrote:

> On Monday 17 of May 2010 11:32:25 Avinash wrote:
> > I want to know if there is any way to get the directory listing of a HTTP
> > URL using cURL ?
>
> AFAIK there is no such thing like 'directory' specified by the HTTP
> protocol.
>
> Kamil
>

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-05-18