Send PDF/HTML file as an Stream to a client
-
Hi, I would like to give the user the possibility to get an "pdf / html" receipt when he presses a button over my web page ( something like "print receive"). I have heard that it's possible to generate that file in memory as an stream and then send it to the client web page, is that possible or I have to create a temporary file in my server ? Thanks in advance, greetings Braulio
-
Hi, I would like to give the user the possibility to get an "pdf / html" receipt when he presses a button over my web page ( something like "print receive"). I have heard that it's possible to generate that file in memory as an stream and then send it to the client web page, is that possible or I have to create a temporary file in my server ? Thanks in advance, greetings Braulio
Braulio Díez wrote: I have heard that it's possible to generate that file in memory as an stream and then send it to the client web page, is that possible I think you mean
HttpResponse.WriteFile()
method. Mazy
"One who dives deep gets the pearls,the burning desire for realization brings the goal nearer." - Babuji