Upload files with HTTPWebrequest (multipart/form-data)
Posted
by dr. evil
on Stack Overflow
See other posts from Stack Overflow
or by dr. evil
Published on 2009-02-19T18:03:01Z
Indexed on
2010/03/11
19:29 UTC
Read the original article
Hit count: 1047
Is there any class, library or some piece of code which will help me to upload files with HTTPWebrequest?
Edit 2:
I do not want to upload to a WebDAV folder or something like that. I want to simulate a browser, so just like you upload your avatar to a forum or upload a file via form in a web application. Upload to a form which uses a multipart/form-data.
Edit:
WebClient is not cover my requirements, so I'm looking for a solution with HTTPWebrequest.
© Stack Overflow or respective owner