I have a web URL for the image. For example \"http://testsite.com/web/abc.jpg\". I want copy that URL in my local folder in \"c:\\images\\\"; and also when I copy that file into
byte[] data;
using (WebClient client = new WebClient()) {
data = client.DownloadData("http://testsite.com/web/abc.jpg");
}
File.WriteAllBytes(@"c:\images\xyz.jpg", data);