On Thu, 29 Jan 2015, Uday Kumar Tirupathi wrote:
Easy.ReadFunction rf = new Easy.ReadFunction(OnReadData);
easy.SetOpt(CURLoption.CURLOPT_READFUNCTION, rf);
easy.SetOpt(CURLoption.CURLOPT_READDATA, fs);
You make a PUT here.
curl.exe -# -C - -i -k -u USER NAME:@ PASSWORD -F filedata=@"FILE NAME"
HTTPS SEVER URL.
... while this is a multipart formpost. Not the same things.
Added "--libcurl code.c" to your curl command line to get a good template for
your libcurl using code.
--
/ daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html