Streaming files.

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi,

I'm currently involved in building a web application which to
sends/recieves moderately large binary files (video/image/audio)
from/to a file store on a remote machine, via remoting and am looking
for some advice on implementation - my question is, what is the fastest
end-to-end method of transfering a binary from the file store to a web
client?

If (in response to a request) I opened the file using a FileStream
object which I then returned a reference to across the remoting
boundary, which was then passed to a Response.OutputStream, would this
actually stream the binary from disk straight to the client - or have i
got it all wrong?

Thanks in advance,
Mark Kelly

.