62,243
社区成员




#region 根据图片链接地址下载图片
string fromURL = "http://www.autoimg.cn/upload/spec/3278/t_3278542731823.jpg";
string str1 = fromURL;
str1=str1.Replace("t_", "⊙");
string str = str1.Substring(str1.IndexOf("⊙")+1);
string fileName = str;
string savePath = Server.MapPath(fileName);
WebClient myWebClient = new WebClient();
myWebClient.DownloadFile(fromURL, savePath);
#endregion