I want to use Winsock to post form data to a server side script. However, the browser form that would normally post to the script contains a file to be uploaded along with an input box.

How would I go about uploading the file?

I've looked for tutorials but haven't found anything, unless I'm just using the wrong search parameters.