Skip to content

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

@HollisMeynell

Description

@HollisMeynell

Please make sure of the following things

  • I have read the documentation.
  • I'm sure there are no duplicate issues or discussions.
  • I'm sure this feature is not implemented.
  • I'm sure it's a reasonable and popular requirement.

Description of the feature / 需求描述

由于cloudflare的免费版限制, 对于上传文件超过100M会直接在上传完后拦截, 直接报413错误, 而且大文件一旦中间出错了, 还要从头上传, 希望支持文件分块上传来解决问题

Suggested solution / 实现思路

前端在上传前提前分块, 多次提交上传请求, 再由后端整理好完整文件, 拼装起来, 对于挂载其他网盘可能无法这样做, 只在本地存储也好

Additional context / 附件

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions