public static void drbdWeb(string oldpath, string newpath) { WebRequest wreq = WebRequest.Create(oldpath); HttpWebResponse wresp = (HttpWebResponse)wreq.GetResponse(); Stream s = wresp.GetResponseStream(); System.Drawing.Image img; img = System.Drawing.Image.FromStream(s); img.Save(newpath); }