diff --git a/HaoYue.MediaDownloader/HaoYue.MediaDownloader/HttpHelper.cs b/HaoYue.MediaDownloader/HaoYue.MediaDownloader/HttpHelper.cs index c8c5c70..66c121e 100644 --- a/HaoYue.MediaDownloader/HaoYue.MediaDownloader/HttpHelper.cs +++ b/HaoYue.MediaDownloader/HaoYue.MediaDownloader/HttpHelper.cs @@ -79,7 +79,6 @@ namespace HaoYue.MediaDownloader currPostion += contentSize; int percent = (int)(currPostion * 100 / remoteFileLength); System.Console.WriteLine("percent=" + percent + "%"); - writeStream.Write(btArray, 0, contentSize);// 写入本地文件 contentSize = readStream.Read(btArray, 0, btArray.Length);// 继续向远程文件读取 }