curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Adding a feature to curl: disabling partial range verification

From: philippe marguinaud via curl-library <curl-library_at_cool.haxx.se>
Date: Thu, 12 Sep 2019 13:52:04 +0000

Hi all,

I like curl, and I have written an application based on it to retrieve data from remote servers and then process it. I would like to use it at my work, but all our data is stored on a proprietary FTP server which apparently does not return file size. No way to fix it, it is really closed software.
The problem is that when requesting partial transfers, curl performs a sanity check to verify that the requested range is actually included between 0 and the file size. This is perfectly fine, except that it does not work in my case. Other software such lftp do not perform that check, and partial transfers work OK.
I have created a git branch to add an option to curl so that the check on partial range be disabled. Would it be possible to have this integrated inside curl, and if so, how should I proceed ?

Regards

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2019-09-12