private   void   FileDownload(string filename) 

string strPath = Server.MapPath("~/")+"DocFolder/"+System.DateTime.Now.Year+"/";
FileInfo   DownloadFile   =   new   FileInfo(strPath+filename); 
Response.Clear(); 
Response.ClearHeaders(); 
Response.Buffer   =   false; 
Response.ContentType   =   "application/octet-stream "; 
Response.AppendHeader( "Content-Disposition ",   "attachment;filename= "   +   HttpUtility.UrlEncode(filename,   System.Text.Encoding.UTF8)); 
Response.AppendHeader( "Content-Length ",   DownloadFile.Length.ToString()); 
Response.WriteFile(DownloadFile.FullName); 
Response.Flush(); 
Response.End(); 
}我有一个DownLoadFile.aspx页面,在每次下载文件时我都会跳到这个页面调用这个函数通过传过来的参数下载指定的文件.
但是点击下载另存是我的文件名怎么都是DownLoadFile.aspx.里面的内容还是我要下的内容...求指点!