mentalhard
Well-known member
- Joined
- Aug 7, 2006
- Messages
- 123
- Programming Experience
- Beginner
I was wondering how do i download a file in a separated threads (multi-part downloading) and then merge when all parts are downloaded?
I guess it's related with AddRange method but i am not sure about the details:
Thanks for any further help/advice/suggestion
P.S. All i want to achieve is to accelerate the download speed by separating the file(s) in a few threads ... at least i believe that's the correct approach.
How actually torrent clients work? I've noticed that they create some temp files. Usually two files (probably one is the info and the second is data) and when all parts are downloaded it merge the parts and create the final file.
I guess it's related with AddRange method but i am not sure about the details:
VB.NET:
Dim theRequest As HttpWebRequest
theRequest.AddRange(range)
Thanks for any further help/advice/suggestion
P.S. All i want to achieve is to accelerate the download speed by separating the file(s) in a few threads ... at least i believe that's the correct approach.
How actually torrent clients work? I've noticed that they create some temp files. Usually two files (probably one is the info and the second is data) and when all parts are downloaded it merge the parts and create the final file.