Hello everyone,

I want to upload a (C++) string to a server without having to write the string into a file first. I know I have to use the CURLOPT_READFUNCTION option, but I don't know how to do this with a string.

Could anyone provide me an example for a readfunction which works with a string (not a file) or give me some suggestions?

Thank you very much!
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to