行 17: System.Web.HttpContext.Current.Response.ContentType = "application/octet-stream";
行 18: System.Web.HttpContext.Current.Response.AppendHeader("Content-Disposition", "attachment;filename=" + DownloadFile.Name + "");
行 19: System.Web.HttpContext.Current.Response.AppendHeader("Content-Length", DownloadFile.Length.ToString());
行 20: System.Web.HttpContext.Current.Response.WriteFile(DownloadFile.FullName);
行 21: System.Web.HttpContext.Current.Response.Flush();
|