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: Daniel Stenberg <bagder_at_users.sf.net>
Date: Sun, 06 Jul 2014 01:43:03 +0000

- **assigned_to**: Bjorn Stenberg --> Daniel Stenberg
- **Comment**:

What protocol are you using? Which libcurl version on which platform is this? Can you provide a full source code that repeats this problem?

And please don't assign bugs at random.

---
** [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:11 AM UTC
**Owner:** Daniel 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-06

These mail archives are generated by hypermail.

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

File upload with ASP.NET