cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: retreive messages

From: raoul cridlig <rcridlig_at_yahoo.fr>
Date: Fri, 4 Jan 2002 09:35:35 +0100 (CET)

>
> The callback you get the FTP data in, is the
> CURLOPT_WRITEFUNCTION. I'm
> talking about sending the response-lines to the
> function you set with
> CURLOPT_HEADERFUNCTION.
>
> That way, you write two functions, one for true data
> and one for meta data.
> It makes it work similarly to HTTP as then the
> headers are passed to the
> CURLOPT_HEADERFUNCTION and the actual data to the
> CURLOPT_WRITEFUNCTION.

Ok, it's a good idea. So i'll retreive job number with
using CURLOPT_HEADERFUNCTION and a headercallback
function to retreive header data from ftp lines.

Thanx

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Courrier : http://courrier.yahoo.fr
Received on 2002-01-04