curl-library
Re: ftp and https header
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 8 Oct 2007 11:14:59 +0200 (CEST)
Date: Mon, 8 Oct 2007 11:14:59 +0200 (CEST)
On Mon, 8 Oct 2007, Nishantha Pradeep wrote:
> I was able to send the http HEAD request and get the last-Modified field of
> the header,using out put redirecting and string matching(also using curl and
> help of this mailing list).The source code is attached to this mail
Wow, that is so overly complicated when I already explained that libcurl has
options that will extract this time for you...
> I would like to know that is there any way to get the ftp header and https
> header using curl.
Yes, CURLOPT_HEADER or just set a header callback.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2007-10-08