[Mono-list] HttpResponse.TransmitFile method

Joe Audette joe_audette at yahoo.com
Tue Jun 14 18:54:14 EDT 2005


Why not use Response.WriteFile?

I use it in mono and it works great.

Joe

--- Marc DM <m at phronein.com> wrote:

> 
> 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
> > _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 


joe_audette [at] yahoo dotcom
http://www.joeaudette.com
http://www.mojoportal.com


More information about the Mono-list mailing list