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: conversion from binary string to base64

From: Marco Antonio <teste_cma_at_yahoo.com.br>
Date: Mon, 24 Sep 2007 19:10:44 -0300 (ART)

Daniel Stenberg <daniel_at_haxx.se> escreveu:

>Sure! You first convert/encode your data the way you like it, then you pass it on to CURLOPT_POSTFIELDS. Optionally you also use CURLOPT_POSTFIELDSIZE to set the size of the data unless it is indicated with a trailing zero byte.

Yes, in php for exemple is very easy (base64_encode(string)), but I need to encode it in C/C++ (to pass the data with libcurl) and I do not know how. Does exist anything already done about this encoding?

Thanks,

Marco.

       Flickr agora em portuguÍs. VocÍ clica, todo mundo vÍ. Saiba mais.
Received on 2007-09-25

These mail archives are generated by hypermail.

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

File upload with ASP.NET