In ASP.NET we can write the content of a file directly to the output
stream
by using the writefile property of response object. The following
ASP.NET code displays the content of any specified file on the client
browser:
<html>
<body>
<script language="VB" runat="server">
Sub Page_Load(Src As Object, E As EventArgs)
Response.writefile("mydatafile.txt")
End Sub
</script>
</body>
</html>
Stacks
of web space and bandwidth with
all packages