How to transfer large files from desktop to server ( .NET)
Posted
by rahulchandran
on Stack Overflow
See other posts from Stack Overflow
or by rahulchandran
Published on 2010-04-01T16:30:53Z
Indexed on
2010/04/01
16:33 UTC
Read the original article
Hit count: 221
.NET
|networking
I am writing a .NET 2.0 based desktop client that will send large files ( well largish under 2GB) to a server. Need to develop the server as well. Server can be on any technology It should be secure so an underlying SSL stream is needed What are my options. Any obvious caveats etc I should be aware of To my mind the simplest solution is to open a tcp\ip connection over SSL to the server and send n packets each of size M bytes and then have the server append the chunks to the file and finally send an EOF packet as well
IS this horrible. Will the perf suck on the server with all these disk writes What are any other clever options. I am limited to .NET 2.0 on the client if I did move to a WCF client will it buy be something magical and cool for this scenario Thanks
© Stack Overflow or respective owner