Click here to Skip to main content
15,563,053 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
i have googled a lot to create a vb.net class that can download files of any size (in parts). i had used many codes and used some from codeproject itself. but none of the code has been able to suit my needs. either they cannot download files of large sizes. or doesnot have resume support.
So now i want to write a class that manages a single file download. it will download files bit by bit (2 kb packets) and store the file in a temporary location. after the file has been downloaded it will be moved to the user's requested location. I also want pause and resume support for the file..
Posted
Comments
Richard MacCutchan 25-Apr-15 4:16am    
Good luck; don't forget to let us know when it's complete.
Sergey Alexandrovich Kryukov 26-Apr-15 0:48am    
Why, why 2 kb packets? It makes little to no sense. The problem if fairly simple.
—SA

As far as I am aware, there is no built-in support for what you have requested. Even I have tried - I did not succeed. Perhaps you can take a look at uTorrent and have a look at how it works.

Also, downloading a file in 2kb packets - not such a good idea. It will slow download speeds and I am sure you want faster speeds.

Regards,
iProgramIt
 
Share this answer
 
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900