I want to write a ASP page to open/download a file
In fileview.jsp, I have the file browse, and when user click submit button,
fileview2.asp should open the file.
fileview.asp
============
<FORM ACTION="filevie w2.asp" method="POST">
<P><input type="FILE" name="filename" >
<P><input type="submit">
fileview2.asp
============
<%
String filename = Request.Form("f ilename")
Response.Redire ct = filename
%>
However, this is not working. any ideas? please advise what I am missing.
thanks!!
In fileview.jsp, I have the file browse, and when user click submit button,
fileview2.asp should open the file.
fileview.asp
============
<FORM ACTION="filevie w2.asp" method="POST">
<P><input type="FILE" name="filename" >
<P><input type="submit">
fileview2.asp
============
<%
String filename = Request.Form("f ilename")
Response.Redire ct = filename
%>
However, this is not working. any ideas? please advise what I am missing.
thanks!!
Comment