Having a problem with sending a file via HTTP post in vb.net. I am trying to mimic the following HTML so the vb.net does the same thing.
<form enctype="multipart/form-data" method="post" action="/cgi-bin/upload.cgi">
File to Upload:
<input type="file" name="filename"/>
<input type="submit" value="Upload" name="Submit"/>
</form>
Hope someone can help!
You could use the
E.g:
Use this to get your file from the HTTP Post.
I think what you are asking for is the ability to post a file to a web server cgi script from a VB.Net Winforms App.
If this is so this should work for you
You may use HttpWebRequest if UploadFile (as OneShot says) does not work out.
HttpWebRequest as more granular options for credentials, etc