| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re: posting binary data
From: Sigrid Thijs <sigrid.thijs_at_androme.com>
Date: Tue, 06 Mar 2007 10:02:58 +0100
Sigrid Thijs wrote:
If we replace this code:
> curl_easy_setopt ( pCURL, CURLOPT_POST, 1 );
by this:
char * pbuffer = new char[fileSize];
it works like before. Aren't these methods supposed to be equivalent?
kind regards,
Sigrid
> curl_easy_setopt ( pCURL, CURLOPT_POSTFIELDSIZE, fileSize );
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info