Reputation: 467
I'm trying to create a WP7 application that will upload an image to my website. I tried using FTP but microsoft have removed that feature from WP7. Apparently the only other way at the moment is to call a webservice running on my website that will do the ftp upload for me.
Simple enough, i turn the image into a byte array and make a web request to my website.
But i'm not sure on the code on either side, client or server. I'm using asp but i'm not having much look, i've got as far as turning the image into a byte array but i dont know how i go about sending this data. All the info i've found is for web apps or windows forms not WP7.
Thanks,
James
Upvotes: 4
Views: 2426
Reputation: 7424
Hey Cadab have you checked out this link yet? It looks like the code for the application on the client as well as server side. I have not tried this myself but I'm pretty sure it would work.
You should take a look at this question because it has code and seems pretty close to what your trying to accomplish.
You might also want to check out this question.
Although these were written in standard silverlight (browser or client) they should work for WP7 with minor modifications.
Let me know if this helps.
Upvotes: 4