curl-library
Re: CURLOPT_INFILESIZE and padded files
From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 17 Jan 2007 12:42:13 -0800
Date: Wed, 17 Jan 2007 12:42:13 -0800
On Wed, Jan 17, 2007 at 06:23:55AM -0600, Peter Seebach wrote:
> The read callback has to be able to, from the "stream" pointer, figure
> out where it is in the buffer, and it needs to somehow find out from the
> rest of my code what the size limit is. So, either I make the stream
You can use ftell(3) to tell where you are from the stream itself. Finding
the maximum is a bit trickier.
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has movedReceived on 2007-01-17