cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: Recursive fetch

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Tue, 29 Mar 2005 20:05:17 +0200 (CEST)

On Tue, 29 Mar 2005, Pupeno wrote:

>> libcurl has no such feature built-in.

> Oopps, it'd be a nice addition.

If you take a while to read up on what libcurl does and how it works, you'll
see that recursive fetch doesn't fit in.

> Anyway, what I have, I'm not sure if it's an URL to a file or directory, in
> the first case I need to only download it, in the second case, I need to do
> recursive downloading. How can I find if it is a file or directory ?

Make a dir listing in what appears to be the parent dir perhaps.

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2005-03-29