Page 1 of 1
PB + CURL Sending a file to the server
Posted: Sun Jun 24, 2012 6:30 pm
by m0t0d0r
Please sample code that sends files to the server from a form
Multipart / form-data
CURL
I apologize for my English
Re: PB + CURL Sending a file to the server
Posted: Sun Jun 24, 2012 8:31 pm
by fiver
Use the search Luke!!
Recent post with a libcurl wrapper
Progi1984's original curl wrapper:
http://goo.gl/zdXmi
Or do it without the extra bulk of curl

:
Drag and drop Image uploader
Look particularly at HttpPostMultipart.
Re: PB + CURL Sending a file to the server
Posted: Tue Jun 26, 2012 6:51 am
by m0t0d0r
Code: Select all
curl_formadd(@formpost, @last_post, #CURLFORM_COPYNAME, @"CMD", #CURLFORM_COPYCONTENTS, @"AUTH", #CURLFORM_END);
WARNING incorrect number of parameters
HELP!!!