We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
如果文件下载完成,但是由于某种原因没有记录Cache,下次重新下载此文件,导致报错。 Create 函数里面 if (fileLength >= fileBytes) { if (File.Exists(_tempFilePath)) File.Delete(_tempFilePath); fileLength = -1; // 这里赋值-1,避免下文webRequest.SetRequestHeader("Range" ***** 超出服务器文件大小 }
The text was updated successfully, but these errors were encountered:
e5f5241
No branches or pull requests
如果文件下载完成,但是由于某种原因没有记录Cache,下次重新下载此文件,导致报错。
Create 函数里面
if (fileLength >= fileBytes)
{
if (File.Exists(_tempFilePath))
File.Delete(_tempFilePath);
fileLength = -1; // 这里赋值-1,避免下文webRequest.SetRequestHeader("Range" ***** 超出服务器文件大小
}
The text was updated successfully, but these errors were encountered: