lingochamp / lingochamp/FileDownloader

大文件分割成多个小文件地址如何下载

Open
#1,391 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
11.1k
Forks
2.2k
PR merge metrics
No merged PRs in 30d

Description

我这边要下载的文件如果比较大,会分割为多个小文件,有各自的下载地址,下载完成后会再把他们合并。

如何让他们下载时,作为一个整体任务去下载和管理呢?可能会有多个下载任务在下载队列,小的文件单独一个任务,大文件切割为多个小文件后下载作为一个整体,在列表中仅展现整体的下载速度和进度,可以one by one下载。

用这个下载器有没有可能实现呢?希望能给一些思路,谢谢

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the downloader's task queue, download management, and file-merge flow. Define how several segment URLs would be represented as one managed task, including sequential downloading, aggregate progress and speed, and final merging; done means the grouped task appears as one queue item while still completing all segments.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.