alist
alist copied to clipboard
请求支持分片上传 Request for support for multipart upload
Please make sure of the following things
- [X] I have read the documentation.
- [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 / 需求描述
我的Alist站点套了阿里云的全站加速,而所有阿里云的CDN产品POST上传文件大小都被限制在了300M无法更改,这会导致在上传大文件的时候加速节点直接返回413,而且大文件上传很容易受到网络波动的影响,因此建议添加分片上传到Alist服务端的功能。 #5176 有提到同样的request和类似的use case,但是题主似乎主动关闭了。个人认为还是挺有必要的一个功能。
Suggested solution / 实现思路
本人没有相关领域或者Golang开发经验,提供一些可能有用的帖子仅供参考。
- File Upload in Go with multipart/form-data
- How to Multipart File Upload Using FormData with HTML
- Example of doing a multipart upload in Go (golang)
- POST data using the Content-Type multipart/form-data
Additional context / 附件
已经确认是CDN节点返回的,因此没有提供log。
Thanks for opening your first issue here! Be sure to follow the issue template!
+1 希望能像cloudreve一样可以不需要占用大量内存直接分片上传
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hello @, this issue was closed due to inactive more than 52 days. You can reopen or recreate it if you think it should continue. Thank you for your contributions again.