开发者

Upload files with HTTPWebrequest (multipart/form-data) for Windows Mobile

开发者 https://www.devze.com 2023-03-29 21:55 出处:网络
Want to do similar as link below but in Windows Mobile .. Upload files with HTTPWebrequest (multipart/form-data)

Want to do similar as link below but in Windows Mobile ..

Upload files with HTTPWebrequest (multipart/form-data)

Can any one help???

Content from the link above:

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 ava开发者_JAVA技巧tar 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.


Windows mobile also supports HttpWebRequest class and you can create http POST/PUT request to upload a file to a server. Check this post: Upload file to server in Windows mobile C# project

0

精彩评论

暂无评论...
验证码 换一张
取 消