on/octet-stream"; Response.AppendHeader("Content-Disposition","attachment;filename=" +HttpUtility.UrlEn買粉絲de(DownloadFile.FullName,System.Text.En買粉絲ding.ASCII)); Response.AppendHeader("Content-Length",DownloadFile.Length.ToString()); Response.WriteFile(DownloadFile.FullName); Response.Flush(); Response.End(); } else ...{ //文件不存在 } } catch ...{ //文件不存在 }
2024-07-21 01:13
2024-07-21 00:23
2024-07-20 23:47
2024-07-20 23:40
2024-07-20 23:33
2024-07-20 22:58