Download large files

I use the Windows service on my server to receive large files (1 GB) from desktop clients, when I use the TCPClient class, it creates an astream to send a file that is blocking my memory. What is the well design for this problem

+3
source share
2 answers

You can take a peek at the Microsoft Background Intelligent Transfer Service, as indicated here .

+2
source

The file should be segmented, then the method should send each segment separately, and loading segments into memory on request.

, My.Computer.Network.UploadFile() , .

+1

Source: https://habr.com/ru/post/1737003/


All Articles