On Mon, 19 Dec 2011, Marcin Adamski wrote:
I'm using multi interface of libcurl 7.23.1. Whenever I configure FTP in order to resume interrupted upload (CURLOPT_UPLOAD = 1, CURLOPT_RESUME_FROM = -1, CURLOPT_APPEND = -1), progress function is called with total number of bytes to upload(ultotal) set to -1.
Couldn't it provide the number of remaining to transfer bytes? Without this number I can not estimate progress of whole file transfer, because I don't know how much data FTP server really recieved during previous, interrupted transfer.
Did you specify the size of the data that libcurl is about to send? -- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
