类似gmail邮箱的附件功能,什么都能上传,但是均为下载而非运行,除了服务器设置权限外。。。还有什么好办法没有。。。
------解决方案--------------------------------------------------------
contentype = "application/octet-stream "
------解决方案--------------------------------------------------------
Response.ContentType = "application/octet-stream ";
Response.AddHeader( "Content-Disposition ", "attachment; filename= " & Filename);