用.net写的当需要下载图片是,用
Response.ContentType = "application/x-msdownload"; Response.AppendHeader("Content-Disposition", "attachment;filename=" + HttpUtility.UrlEncode(DownloadFile.Name, System.Text.Encoding.ASCII));
在电脑的IE浏览器可以正常下载,但是,用手机下载时,总是下 *.aspx的页面。。很是郁闷。请大侠帮忙。
试试Response.ContentType = "application/octet-stream";