title: Sending form in libcurl
body: <p>i need to send a file to a webserver using libcurl. i saw one of the examples in the curl website and am trying to implement it. it is the <a href="http://curl.haxx.se/libcurl/c/postit2.html" rel="nofollow noreferrer">postit2.c</a> example. can someone tell me how i might extend this to be able to send username and password as well</p>