Download WP7 Image

I am trying to create a WP7 application that will upload an image to my site. I tried using FTP, but Microsoft removed this feature from WP7. Apparently the only way at the moment is to call the web service running on my website that will load ftp for me.

Simple enough, I turn the image into an array of bytes and make a web request to my site.

But I'm not sure about the code on either side, on the client or server. I use asp, but I do not look very well, I have before turning the image into a byte array, but I do not know how I'm going to send this data. All the information I found is for web applications or windows, not WP7.

Thanks,

James

+4
source share
1 answer

Hey Kadab, have you checked this link yet? It is similar to the application code both on the client side and on the server side. I have not tried this myself, but I am sure it will work.

You should take a look at this question because it has code and seems pretty close to what you are trying to execute.

You can also check this question .

Although they were written in a standard silverlight (browser or client), they should work for WP7 with a few changes.

Let me know if this helps.

+4
source

Source: https://habr.com/ru/post/1345286/


All Articles