binary file upload via msinet execute post
Until someone suggested that I use msinet in vb6, I spent weeks studying the http protocol to figure out how to upload a binary file to a secure web site. I learned that the 'body' of a post request to upload a file was supposed to contain:
Content-Length: nnnn (length of remaining data)
Content-Disposition: form-data; name="upfile"; uploadname="fname"
My question is:
Do I just give the binary file string to inet1 as the data for a Post request? Or do I surround the data with all/some of the above?