1
votes

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 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.

1
so, you want us to rewrite this code for you?KevinDTimm
Not rewrite but am new to windows phone application development and i want to do almost similar thing in windows phone so i just want guidance ... don't know how i can send image via httpwebrequest as there is not such feature in Windows mobile :(prsthapit
So is this for Windows Phone or Windows Mobile? There is a distict difference.ctacke

1 Answers

0
votes

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