cURL / Mailing Lists / curl-library / Single Mail

curl-library

SFTP: Is possible resume downloads?

From: Chronos CC <chronos.cc_at_gmail.com>
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
architecture.
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
messages:

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

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

Best Regards,

Chronos.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-12-22