Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

download as page or to harddisk

Status
Not open for further replies.

Nanda

Programmer
Nov 14, 2000
104
0
0
US
Hi,

Can anybody tell me, how can a download and display a file.

My ASP code generates an HTML file as output..as it finishes I need to display this file/allow the user to download as per his selection on previous page.

Thanks to all
 
Hi again,

I am still trying to solve this problem....I wonder, if i am trying to solve impossible thing. If that is the case please let me know any alternative..may be a round about way.

my page code is something like

<!-- Have some common html code here ....not as #include file, but code decides what to display next after this-->

<%
' this asp code will create an OLE instance using CreateObject
' execute the commands using created instance
' one output file .html is saved to server harddisk to the path specified.
' Need to display this file on this already written page, now. Kind of Include. OR start downloading, if user has selected download on previous page.
%>

any kind of help, I will appreciate.
Thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top