文件上传对于超大文件启用分块上传, 避免413错误以及失败时无需从头开始
Offen
#5,480
23 Kommentare
11 Reaktionen
1 zugewiesene Person
Beansprucht von @xiaotianxt
Auf GitHub ansehen
enhancement
- Vorherrschende Sprache
- Go
- Sterne
- 50.2k
- Forks
- 7.9k
- Ø Merge
- 7 T. 21 Std.
- Gemergte PRs (30 T.)
- 6
Beschreibung
### Please make sure of the following things
- [X] I have read the [documentation](https://alist.nn.ci).
- [X] I'm sure there are no duplicate issues or discussions.
- [X] I'm sure this feature is not implemented.
- [X] I'm sure it's a reasonable and popular requirement.
### Description of the feature / 需求描述
由于cloudflare的免费版限制, 对于上传文件超过100M会直接在上传完后拦截, 直接报413错误, 而且大文件一旦中间出错了, 还要从头上传, 希望支持文件分块上传来解决问题
### Suggested solution / 实现思路
前端在上传前提前分块, 多次提交上传请求, 再由后端整理好完整文件, 拼装起来, 对于挂载其他网盘可能无法这样做, 只在本地存储也好
### Additional context / 附件
_No response_
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.