Click here to Skip to main content
15,912,400 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have a download program and when i downloading a file i click pause and close program and i want when open the program it resume that download
how can i do it?
Posted
Comments
Avenger1 20-Nov-14 7:56am    
thanks everyone i found my answer
it must use bytes
Best Regards

study below tutorial
MyDownloader: A Multi-thread C# Segmented Download Manager[^]
download can be done chunks, so you can save the current state of the download and resume from there when restart the download.
 
Share this answer
 
I provided a complete code of nearly minimal HTTP downloaded with this feature. This is just one C# file: how to download a file from internet[^].

You did not mention the protocol though. If this is not HTTP, please let us know.

—SA
 
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