Re: streaming random filetypes from .aspx by Brendan
Brendan
Thu Oct 20 17:58:13 CDT 2005
In the Page_Load of foo.aspx, set the appropriate content type (using
Page.Response.ContentType) and then call Page.Response.WriteFile("bar.mp3).
"Daniel" <softwareengineer98037@yahoo.com> wrote in message
news:OU0cAta1FHA.3336@TK2MSFTNGP12.phx.gbl...
> streaming random filetypes from .aspx
>
> how to stream a file from inside a .aspx? e.g. so one could go
> href="./foo.aspx?file=bar.mp3" or href="./foo.aspx?foo.dat" etc.
> preferabley
> i would like all file types to open with "save as" when href clicked
>
>