[Mono-list] HttpResponse.TransmitFile method

Marc DM m at phronein.com
Tue Jun 14 17:36:15 EDT 2005


Would it be possible for a future release of mono to include the
unpopular method of the HttpResponse object named TransmitFile

Microsoft implemented this method as a solution to
HttpResponse.BinaryWrite spooling the entire file into RAM before
sending it to the web-user. (see KB article link below)

I did a google search for "mono Request.TransmitFile" (without the
quotes) and got 1 english result.
The method isn't documented in MSDN but I found this on Microsoft's
site :
(from http://support.microsoft.com/default.aspx?scid=kb;en-us;823409)


> You can use the function instead of the BinaryWrite function or
> instead of other functions to send files to the client. Also, this
> function can be used regardless of the size of the file that you want
> to transmit.

I also found this blog entry explaining its functionality (a bit) 
http://www.aaronweiker.com/PermaLink,guid,2e9e9d7f-4130-41f7-8104-171f3ece37d4.aspx

I need this method to compile some code I'm moving from .NET to mono.
I suspect that I'll have to find another way around this one.

Has anybody got any ideas?

Thanks in advance,

Marc DM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://galactus.ximian.com/pipermail/mono-list/attachments/20050614/def9c115/attachment.html


More information about the Mono-list mailing list