cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Directory listing in FTP

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 29 Jun 2014 21:06:13 +0200 (CEST)

On Sun, 29 Jun 2014, Ramprasad N wrote:

> Under FTP in http://curl.haxx.se/docs/features.html it says libcurl support
> dir listing! does it?

Yes it does. But then you should ask what that support consists of.

libcurl supports retrieving a dir list, and you probably already use it to get
the data to put into the listing parser you mentioned.

libcurl also supports retrieving files with a wildcard from FTP, and that does
parse the directory list. That's a rarely used feature though so I'm not sure
how solid and functional that is against all the world's funky dir list
formats.

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