I'm using a windows service on my server to receive large files (1 GB) from desktop clients when I use the TCPClient class it creates astream to send the file which bloks my memory, What is the well designe for this problem
Asked
Active
Viewed 555 times
2 Answers
1
The file should be segmented, then the method should send each segment apart, while loading the segments into the memory on-demand.
It might be that using My.Computer.Network.UploadFile() will provide you a better, already-written, upload method.

M.A. Hanin
- 8,044
- 33
- 51