同志们帮我看看是不是里面有不正常的代码?(ASP)
同志们帮我看看是不是里面有不正常的代码?
<%@LANGUAGE= "VBSCRIPT " CODEPAGE= "936 "%>
<!--#include file= "../conn.asp " -->
<html>
<head>
<title> 文件管理_文件下载! </title>
<meta http-equiv= "Content-Type " content= "text/html; charset=gb2312 ">
<link href= "../style.css " rel= "stylesheet ">
</head>
<body>
<%call downloadFile(replace(replace(Request( "filename "), "\ ", " "), "/ ", " ")) '调用过程
Function downloadFile(Filename)
Filepath =server.MapPath( "downloadfile ")& "\ "& Filename
Response.Buffer = True
Response.Clear
'创建Stream对象
Set Objstream = Server.CreateObject( "ADODB.Stream ")
Objstream.Open
'数据类型为二进制
Objstream.Type = 1
on error resume next
'检查文件是否出错
Set Objfile = Server.CreateObject( "Scripting.FileSystemObject ")
if not Objfile.FileExists(Filepath) then %>
<table width= "560 " height= "395 " border= "0 " cellpadding= "-2 " cellspacing= "-2 "
background= "../images/file/download.gif ">
<tr>
<td width= "510 " valign= "top "> <table width= "100% " height= "137 " border= "0 "
cellpadding= "-2 " cellspacing= "-2 ">
<tr>
<td height= "121 "> </td>
</tr>
</table>
<table width= "83% " height= "214 " border= "0 " align= "center " cellpadding= "-2 " cellspacing= "-2 ">
<tr>
<td height= "91 ">
<% Response.Write( "错误提示: <p> " & Filepath & " 不存在! <p> ") %> </td>
</tr>
<tr>
<td> <div align= "center "> <br>
<form name= "form1 " >
<input name= "myclose2 " type= "button " class= "Style_button_del " id= "myclose2 "
value= "关闭窗口 " onClick= "javascrip:window.close() ">
</form>
</div> <