This is what i do when i have a html page to upload a file:
I want to send a file to a server over HTTP in my C++ (VC++) application. How can I do this? I could find examples for posting small data "Content-Type: application/x-www-form-urlencoded" but none for posting files to web pages with "Content-Type: multipart/form-data".
<FORM ENCTYPE="multipart/form-data" ACTION="a.asp" METHOD="POST">
<INPUT TYPE="file" NAME="theFile">
Can someone help me with this?
Thanks in advance.