Skip to content
New issue

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

文件未下载完整就返回了SUCCESS状态 #731

Open
GongKuiJun opened this issue Jan 13, 2022 · 0 comments
Open

文件未下载完整就返回了SUCCESS状态 #731

GongKuiJun opened this issue Jan 13, 2022 · 0 comments

Comments

@GongKuiJun
Copy link

GongKuiJun commented Jan 13, 2022

下载大文件 出现没有下载完成 出现了返回成功的情况

代码参数:
RequestParams requestParams = new RequestParams(fileUrl);
// 为RequestParams设置文件下载后的保存路径
requestParams.setSaveFilePath(fileName);
//断点续传
requestParams.setPriority(Priority.BG_TOP);
requestParams.setAutoResume(true);
// 下载完成后自动为文件命名
requestParams.setAutoRename(true);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant