• Advertisement
Sign in to follow this  

how to post a file to a webpage using libcurl

This topic is 4372 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


Link to post
Share on other sites
Advertisement
ok, i just resolved this myself.

the correct file was posit2.c

nevermind, please delete this.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement