cURL / Mailing Lists / curl-library / Single Mail


Using libcURL + Multi Interface + Implementation of Pause/Resume function + SFTP

From: Chronos CC <>
Date: Wed, 18 Jan 2012 09:23:34 -0300

Hi all,

I'm trying to implement a client of SFTP protocol (using libcURL) to
download a couple of files in the same time. So I'm using multi interface
to do it.
But is necessary to implement pause/resume functions.
I'm using curl_easy_pause to implement these functionalities. But in 50% of
times that I call that function I got an end transfer with status 56
(CURLE_RECV_ERROR - Failure with receiving network data.).

I put my codes in:

The problem happens when I call function pauseDownload function in the line

Help me, please, guys.

Best Regards,

Antonio Cosme

List admin:
Received on 2012-01-18