且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在c#中恢复下载文件

更新时间:2023-02-02 15:56:11

学习以下教程

MyDownloader:多线程C#分段下载管理器 [ ^ ]

下载可以完成块,这样就可以保存当前的状态了重新下载时从那里下载并继续。
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.


我提供了使用此功能下载的近乎最小HTTP的完整代码。这只是一个C#文件:如何从互联网上下载文件 [ ^ ]。



你没有提到协议。如果这不是HTTP,请告诉我们。



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