Good way to send a large file over a network in C#?

Posted by BFreeman on Stack Overflow See other posts from Stack Overflow or by BFreeman
Published on 2009-01-23T02:59:36Z Indexed on 2010/06/02 3:43 UTC
Read the original article Hit count: 136

Filed under:
|
|

I am trying to build an application that can request files from a service running on another machine in the network. These files can be fairly large (500mb + at times). I was looking into sending it via TCP but I'm worried that it may require that the entire file be stored in memory.

There will probably only be one client. Copying to a shared directory isn't acceptable either. The only communication required is for the client to say "gimme xyz" and the server to send it (and whatever it takes to ensure this happens correctly).

Any suggestions?

© Stack Overflow or respective owner

Related posts about c#

Related posts about network