try
{
string savepicPath = ServerUtil.MapPath(StringUtil.urldecode(jc.url(string.Format("/downmodel/stuplace_temp/{0}.jpg", Name))));
WebRequest request = WebRequest.Create(coverPath);
WebResponse response = request.GetResponse();
Stream resStream = response.GetResponseStream();
StreamWriter sw_1 = new StreamWriter(savepicPath);
resStream.CopyTo(sw_1.BaseStream);
sw_1.Flush();
sw_1.Close();
}
catch (Exception ex)
{
continue;
}