cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: post binary data using curlopt_postfields option

From: Jeff Pohlmeyer <yetanothergeek_at_gmail.com>
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:
  http://curl.haxx.se/mail/etiquette.html

> 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: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-06-09

These mail archives are generated by hypermail.

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

File upload with ASP.NET