OpenListTeam / OpenListTeam/OpenList
[Feature] 网页端/WebDaV分块上传
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 24.7k
- Forks
- 2.3k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 36
Description
请确认以下事项
-
我已确认阅读并同意 AGPL-3.0 第15条 。
本程序不提供任何明示或暗示的担保,使用风险由您自行承担。 -
我已确认阅读并同意 AGPL-3.0 第16条 。
无论何种情况,版权持有人或其他分发者均不对使用本程序所造成的任何损失承担责任。 -
我确认我的描述清晰,语法礼貌,能帮助开发者快速定位问题,并符合社区规则。
-
我已确认阅读了OpenList文档。
-
我已确认没有重复的问题或讨论。
-
我认为此问题必须由
OpenList处理,而非第三方。 -
我已确认此功能尚未被实现。
-
我已确认此功能是合理的,且有普遍需求,并非我个人需要。
需求描述
【此需求在原版alist提出但因长时间未处理被关闭】
目前如果使用免费版cloudflare作为cdn/防御的话则无法通过网页页面上传大于100MB的文件。因此如果能实现分块传输的话能解决这个问题。
实现思路
对于不支持分块的网盘,如果部署alist的环境存储空间够大的话,可以考虑将文件块本地临时存储之后合并再“复制”到对应网盘。
至于webdav实现不是非常清楚,貌似就nextcloud和rclone支持其webdav的分块上传。好像原理和nextcloud网页上传一样都是临时上传文件块到本地同名文件夹然后再合并。
附加信息
/*目前我是用windowsOD客户端传到OneDrive然后从alist复制到其他存储的,不仅麻烦而且无法公开上传*/
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue identifies web uploads, WebDAV, and temporary local chunk storage but names no files or tests. Start by tracing the existing web upload path and how destinations without chunked-upload support are handled. Done means uploads larger than the stated CDN limit can be transferred in chunks and finalized correctly across the supported destination types.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- api, backend, web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100