cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: the count of files

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 5 May 2014 08:47:45 +0200

On Mon, May 5, 2014 at 4:11 AM, 刘英伟 <506017026_at_qq.com> wrote:

> I list dir with libcurl on ftp.
> I want to get count of files in the dir
> Is there a param of function to record the count of files in dir?
>

Hello!

No sorry, there's no other way to do that than to ask for a directory
listing and count the entries yourself - which indeed can be challenging...

-- 
/ daniel.haxx.se

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-05-05