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

Feature Request: downloadFile无法支持断点续传,每次都会重新下载为一个新文件,对于大文件下载不友好 #204

Open
kalryoma opened this issue Apr 27, 2024 · 1 comment
Labels
planning 规划中 待实现

Comments

@kalryoma
Copy link

kalryoma commented Apr 27, 2024

Output: fs.createWriteStream(FilePath),

const writeStream = fs.createWriteStream(FilePath, {

@livehigh 看了一下源码,这两处没有对FilePath已下载的部分进行比对,如果满足续传比对,应当从当前已下载的部分之后的位置开始请求和写入。目前是每次都从头开始下载/分片下载。希望能针对下载大文件(几十G)的场景进行优化,感谢。

@livehigh
Copy link
Collaborator

感谢反馈 这块已有排期计划支持哈~

@livehigh livehigh added the planning 规划中 待实现 label Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
planning 规划中 待实现
Projects
None yet
Development

No branches or pull requests

2 participants