When developing my free tool for uploading large files to the server, I also use .NET 2.0 and web services.
To make the application more error-resistant for very large files, I decided not to load one large byte[] array, but to do a “chuncked” download instead.
those. To download a 1 MB file, I call the SOAP download function 20 times, each call passes a 50 KB byte[] array and combines it on the server again.
I also count packets, when one crashes, I try to download it again several times.
This makes the download more error tolerant and more responsive in the user interface.
If you're interested, this is a CP tool article .
Uwe keim
source share