How to post a file via HTTP post in vb.net

Posted by Worz on Stack Overflow See other posts from Stack Overflow or by Worz
Published on 2009-06-11T14:13:21Z Indexed on 2010/05/12 17:44 UTC
Read the original article Hit count: 754

Filed under:
|
|
|
|

Hi all!

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!

© Stack Overflow or respective owner

Related posts about http

Related posts about vb.net