cURL / Mailing Lists / curl-library / Single Mail


SFTP: Is possible resume downloads?

From: Chronos CC <>
Date: Thu, 22 Dec 2011 11:18:16 -0300

Hi all,

I'm a new user of cURL API and I'm needing to develop a simple program to
Linux that uses SFTP protocol to transfer files in a client-server
My question is related to possibility of stop and resume downloads. Is it
possible do that operation using this protocol? I tried to use
CURLOPT_RESUME_FROM option, but didn't work and I got the following

* Initialized password authentication
* Authentication complete
* Offset (2048) was beyond file size (1083)
* Connection #0 to host left intact
* Couldn't resume download

If it is possible resume downloads, how can I do it?
Help me guys, please.

Best Regards,


List admin:
Received on 2011-12-22