cURL / Mailing Lists / curl-library / Single Mail

curl-library

using curl_easy_setopt() during a transfer

From: vineeth <nvineeth_at_gmail.com>
Date: Mon, 11 Oct 2010 15:58:35 +0530

Hello,
  I had a doubt. Is it possible to perform a setopt() during the transfer in
libcurl.
  The scenario is as follows:
  * A file is being downloaded using multi interface.
  * A seek is needed and the download has to resume, say from 1024 offset
from start.
  * Calling setopt(CURLOPT_RESUME_FROM, 1024) does not return a error code,
however, the datastream does not move to the offset 1024.
  Is there anything else that needs to be done?

Thanks.

--vineeth

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-10-11