cURL / Mailing Lists / curl-library / Single Mail


Re: Why does ultotal stay at 0 in progress callback function?

From: Daniel Stenberg <>
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...

List admin:
Received on 2011-03-17