在IHttpHandler中控制下载文件的类型和名称public void ProcessRequest(HttpContext context)
}

附:MIME类型
csv application/vnd.ms-excel
css text/css
js text/javascript
doc application/msword
gif image/gif
bmp image/bmp
htm text/html
html text/html
jpeg image/jpeg
jpg image/jpeg
pdf application/pdf
png image/png
ppt application/vnd.ms-powerpoint
rtf application/msword
txt text/plain
xls application/vnd.ms-excel
xml text/xml
wmv video/x-ms-wmv
wma video/x-ms-wmv
mpeg video/mpeg
mpg video/mpeg
mpa video/mpeg
mpe video/mpeg
mov video/quicktime
qt video/quicktime
avi video/x-msvideo
asf video/x-ms-asf
asr video/x-ms-asf
asx video/x-ms-asf
swf application/x-shockwave-flash

相关文章:

  • 2021-08-24
  • 2022-01-29
  • 2022-12-23
  • 2021-09-05
  • 2022-12-23
  • 2022-12-23
  • 2021-11-25
猜你喜欢
  • 2021-11-07
  • 2022-12-23
  • 2022-12-23
  • 2021-11-18
  • 2021-10-18
  • 2021-07-30
  • 2021-12-04
相关资源
相似解决方案