cURL

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[curl:bugs] #1392 CURLOPT_RANGE can not download 1byte?

From: qokelate <nn0o0nn_at_users.sf.net>
Date: Sat, 05 Jul 2014 10:09:01 +0000

---
** [bugs:#1392] CURLOPT_RANGE can not download 1byte?**
**Status:** open
**Labels:** range 
**Created:** Sat Jul 05, 2014 10:09 AM UTC by qokelate
**Last Updated:** Sat Jul 05, 2014 10:09 AM UTC
**Owner:** Bjorn Stenberg
how to download 1byte data in curl? (libcurl or curltool)
curl_easy_setopt(curl, CURLOPT_RANGE, "0-1");  // download 2bytes
curl_easy_setopt(curl, CURLOPT_RANGE, "1-1");  // download nothing
curl_easy_setopt(curl, CURLOPT_RANGE, "0-1");  // download nothing
option bug?
---
Sent from sourceforge.net because curl-tracker@cool.haxx.se is subscribed to https://sourceforge.net/p/curl/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/curl/admin/bugs/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
Received on 2014-07-05

These mail archives are generated by hypermail.

donate! Page updated March 21, 2014.
web site info

File upload with ASP.NET