cURL / Mailing Lists / curl-library / Single Mail

curl-library

FTP resume libcurl 7.15 to 7.37

From: Bentham, Dave <david.bentham_at_siemens.com>
Date: Thu, 2 Oct 2014 13:16:25 +0000

Hi,
We have a system which has been working happily for years including resuming FTP downloads using libcurl 7.15.5. This was over a serial comms link with PPP.

A recent modification to our system is to allow similar downloads over GSM which is a bit more flaky. One of the enhancements was to upgrade libcurl to the latest, v7.37.1, and whilst early indications suggest the FTP as a whole is slightly faster and more reliable, resuming interrupted downloads always fails straight off with an error code 31, REST command failure. I can't find anything obviously different in programming libcurl between 7.15 & 7.37.

               curl_easy_setopt(curl, CURLOPT_RESUME_FROM, (long)#(ftpResumeFrom));

Regards
Dave Bentham

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