cURL / Mailing Lists / curl-library / Single Mail


Re: post binary data using curlopt_postfields option

From: Jeff Pohlmeyer <>
Date: Wed, 9 Jun 2010 01:37:50 -0500

On Wed, Jun 9, 2010 at 1:25 AM, Vemana Yogi wrote:

First of all - please don't top-post, read:

> curl_easy_setopt(handle, CURLOPT_POSTFIELDS, buff);
> curl_easy_setopt(handle, CURLOPT_POSTFIELDSIZE, bs->size());

I assume this is just a typo, but i wonder why you are using data
from something named "buff" and passing the size of something
named "bs"

 - Jeff
List admin:
Received on 2010-06-09