自己写下载的超难问题!
我的abc.asp如下,目的是自己写下载过程,不直接连到文件上去
<%
dim abc
abc=67
Response.AddHeader "content-type", "text/plain"
response.AddHeader "Content-Disposition","attachment;filename="
Response.AddHeader "content-length","1"
response.binarywrite abc
response.flush
%>
调用页面temp.asp如下:
<html>
<body>
<a href="abc.asp">hello</a>
</body>
</html>
但从temp中一点hello,就出现这种错误:
Internet Explorer无法打开该Internet站点。请求的站点不可用,或找不到……
到底哪出了问题?