Re: Which version for Linux SLES ?

2013-12-19 Thread Daniel Stenberg
On Thu, 19 Dec 2013, Roger Taylor wrote: For the SLES systems should we be using the Open SuSE versions ? Surely you can just install curl from a Suse package repository? -- / daniel.haxx.se --- List admin: http://cool.haxx.se/

RE: Sending binary data through CURL

2013-12-19 Thread Patrick Monnerat
neeraj pandey wrote: > Can any body suggest me how can I post the binary data stored in a C++ vaiable? You may look at http://curl.haxx.se/libcurl/c/post-callback.html or http://curl.haxx.se/libcurl/c/postit2.html (see doc at http://curl.haxx.se/libcurl/c/curl_formadd.html and http://curl.haxx.s

RE: Sending binary data through CURL

2013-12-19 Thread Yehezkel Horowitz
> Say std::string binaryData = "SOME BINARY DATA" > Now, how can I post binaryData to http server through CURL ? use CURLOPT_READFUNCTION. You will need to copy the binary data to curl's buffer (e.g. with memcpy). Pay attention to respect curl's buffer size, and to be able to "rewind" in case curl

Sending binary data through CURL

2013-12-19 Thread neeraj pandey
Hi All, I am a C++ user of CURL (libcurl). I wanted to know how can I send binary data through CURL. I know how to transfer binary file but my problem is different. I have binary data(May be pdf, doc etc contents) in a variable(not stored in a file) and I want to send them to some http server th

Which version for Linux SLES ?

2013-12-19 Thread Roger Taylor
We have the following environments: Windows 2003 32 bit and 2008 64bit Linux SLES 9 32bit OS and SLES 11 64bit OS (Compilations are in 32-bit) It seems clear that for Win 2003/32 we should use the Win32 generic version and for Win2008/64 the Win64 Generic version. For the SLES systems should we

RE: vtls, "virtual" TLS

2013-12-19 Thread Patrick Monnerat
Daniel Stenberg wrote: >> My 2 cents: can have generic tls and related in vtls, and each >> different connector in a separate subdir of vtls... > Really? How would that improve things exactly? Is that just your personal preference or do you have a technical reason for it? Well, I don't have p