locked
Save an image from a url RRS feed

  • Question

  • User-1585994330 posted
    can someone help me out with some code to save an image to my server from an image url not located on my server. ive done some searches, but nothing seems to be just a simple save to server tutorial, thanks in advance Si!
    Friday, May 23, 2008 7:49 PM

All replies

  • User-1051645871 posted

    Check out System.Net.HttpWebRequest. You'll need to get the response stream, and then you should be able to load the stream into a bitmap or image object or whatever you need. 

    Friday, May 23, 2008 9:46 PM
  • User933695886 posted

    look here:

    http://www.csharp-examples.net/download-files/

    Sunday, August 14, 2011 2:53 AM