代码如下: public partial class FileDownLoad : System.Web.UI.Page { //提供下载的文件,不编码的话文件名会乱码 private string fileName = HttpContext.Current.Server.UrlEncode(“规范.rar”); private string filePath = HttpContext.Current.Server.MapPath(“规范.rar”); //使用TransmifFile下载文件 protected void btnDL1_Click(object sender, Event