cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Bugs-2903716 ] CURLOPT_READFUNCTION giving problem while reading

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Fri, 27 Nov 2009 15:16:51 +0000

Bugs item #2903716, was opened at 2009-11-25 14:18
Message generated for change (Settings changed) made by bagder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=2903716&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: libcurl
Group: bad behaviour
>Status: Pending
>Resolution: Invalid
Priority: 5
Private: No
Submitted By: kiran naga (kirannaga)
Assigned to: Daniel Stenberg (bagder)
Summary: CURLOPT_READFUNCTION giving problem while reading

Initial Comment:
CURLOPT_READFUNCTION giving problem while reading a small part in a large file,
suppose if we want to read and upload only a particular part of a file, if the file pointer is at the beginning, CURLOPT_READFUNCTION reads till the end of the file.
or else, if the file pointer is at the middle of the file, then, CURLOPT_READFUNCTION is working properly.

setting the size,nmemb is not working in the first case.

----------------------------------------------------------------------

>Comment By: Daniel Stenberg (bagder)
Date: 2009-11-27 16:16

Message:
That's not a bug, that's the intended behavior. You can seek it wherever
you want if that's what you need and there are additional features libcurl
provide. If you need help or have further questions, welcome to use the
curl-library mailing list.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=2903716&group_id=976
Received on 2009-11-27

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET