curl-and-php
Re: Recursive fetch
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Tue, 29 Mar 2005 09:00:33 +0200 (CEST)
Date: Tue, 29 Mar 2005 09:00:33 +0200 (CEST)
On Mon, 28 Mar 2005, Pupeno wrote:
> I'm currently using libcurl on php to fetch a file over ftp. Is it possible
> to do it recursively ? If so, how ?
Do a diretory list. Parse the list. Fetch each file and directory in that
list. Loop.
libcurl has no such feature built-in.
-- Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2005-03-29