curl-library
Re: Why does ultotal stay at 0 in progress callback function?
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 17 Mar 2011 22:55:28 +0100 (CET)
Date: Thu, 17 Mar 2011 22:55:28 +0100 (CET)
On Thu, 17 Mar 2011, Saqib Ali wrote:
> When I run it, the callback gets called, but ultotal=0 and remains at 0,
> even as ulnow increases:
>
> Does anyone know why my ultotal is staying at 0? It should be the size of
> the uploaded file. The file is successfully transferred.
No, I don't know. It sounds wrong. If the size of the file is known already
and told to libcurl, that should be the size passed in...
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2011-03-17