Response.TransmitFile
-
I'm trying to use Response.TransmitFile in ASP.NET 2.0 instead of reading and writing chunks to a buffer for large files. The questions I want to ask are: 1. Does anyone know how efficient Response.TransmitFile is? I can see that it doesn't add up the memory usage to IIS at all, but I'm not sure the impact on the server itself compared with reading and writing to a buffer in chunks. 2. What about security? The web application is using HTTPS and I don't know much about socket programming. Should I use Response.BinaryWrite instead if I'm using HTTPS? Thanks, Ed
"A democracy is nothing more than mob rule, where fifty-one percent of the people may take away the rights of the other forty-nine." - Thomas Jefferson "Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote." - Benjamin Franklin Edbert Sydney, Australia