AlistGo / AlistGo/alist

文件上传对于超大文件启用分块上传, 避免413错误以及失败时无需从头开始

未關閉
#5,480 23 則留言 11 個 reaction 已指派 1 人 已被 @xiaotianxt 認領 在 GitHub 檢視
enhancement
主要語言
Go
星號
50.2k
分支
7.9k
平均合併
7 天 21 小時
30 天內合併 PR
6

描述

### 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_

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。