tags:

views:

75

answers:

2

Is there any library with functions for downloading files from the internet? I need to download some files using threads to increase speed.

+1  A: 

You can use the WebClient and background worker, threadpool or threads to do this fairly easily.

This question has also been posted on here in a few different forms as well.

GrayWizardx
+2  A: 

Using multiple threads to download won't, in many cases, increase throughput/speed- in fact, it will frequently have the opposite effect. Your pipe is only so large, so unless the other end is the limiting factor and you have multiple endpoints to download from, there's not a lot of benefit for the complexity.

nitzmahone
I just now came back here to say that. The OP seems to be assuming that more threads will be better.
John Saunders
I know that opening more threads wont give me more speed than the cap my ISP has put on me, I need the threads because the site where I download the files from limits the bandwidth per connection, and the limit is less than the bandwidth of my connection, so if I open a new connection on separate threads I should get more speed.
ryudice