cURL / Mailing Lists / curl-library / Single Mail

curl-library

How can I upload a string?

From: Thorsten Schanno <thorsten.schanno_at_gmx.net>
Date: Thu, 11 Dec 2008 12:50:02 +0100

Hi,

I want to write an program "uploadstring(std::string content, std::string filename)" that writes me file named "filename" to the remote computer where "content" is the content of the file.

How shall I write my readfunction for such an upload?
How to do a "normal" file upload is clear.

Thanks,
Thorsten

-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
Received on 2008-12-11