how to post a file to a webpage using libcurl

Started by
0 comments, last by ehmdjii 18 years, 1 month ago
hello, i want to upload a file to a php-script on a website like http://server.com/upload.php using libcurl. the webpage should receive the file in the same manner as if it would have been uploaded via a regular webform. i found "fileupload.c" in the libcurl examples, but i am not sure if this is the correct one.
Advertisement
ok, i just resolved this myself.

the correct file was posit2.c

nevermind, please delete this.

This topic is closed to new replies.

Advertisement