curl-library
Re: how to get ftp directories' and files' info [c language curl program]
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 9 Jun 2009 11:11:17 +0200 (CEST)
Date: Tue, 9 Jun 2009 11:11:17 +0200 (CEST)
On Tue, 9 Jun 2009, 小俞同学 wrote:
> I just get the ftp directories and files from the console[ I use
> curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L); ] but I don't know how to get
> the ftp directories info into my code, such as files' names, directories'
> names, and then I'll download the files. So can someone help me?
I decided it was time for a new FAQ entry so this is my brand new writeup for
this question:
http://curl.haxx.se/docs/faq.html#How_do_I_get_an_FTP_directory_li
(I'm of course always interested in improvements to the FAQ as well...)
-- / daniel.haxx.seReceived on 2009-06-09