curl-library
Re: http post & progress function
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 26 Sep 2002 16:33:56 +0200 (MET DST)
Date: Thu, 26 Sep 2002 16:33:56 +0200 (MET DST)
On 26 Sep 2002, Traxler Bence wrote:
> I'm wondering wether I can use CURLOPT_PROGRESSFUNCTION for a http post
> 'upload'. I need to send files to the server with some inforation which I
> could easily do with a post not with put. I tried to use a progress
> callback but the upload values were zero all the time. Is there any chance
> to get it work?
Does your progress callback prototype match this:
typedef int (*curl_progress_callback)(void *clientp,
double dltotal,
double dlnow,
double ultotal,
double ulnow);
?
-- Daniel Stenberg -- curl related mails on curl related mailing lists please ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sfReceived on 2002-09-26