Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<input type=button value="Download File" onclick="document.location='download.asp?filename=myfile.zip'">
download.asp
<%
fileName=Request("filename")
filePath=Server.MapPath("downloads/"&fileName)
set rs=Server.CreateObject("ADODB.Stream")
rs.Type = 1
rs.LoadFromFile filePath
Response.AddHeader "Content-type","application/vnd.ms-excel"
Response.AddHeader "Content-Disposition","attachment; filename="&fileName
Response.BinaryWrite rs.Read(rs.Size)
%>