能否利用阿里云对象存储 分片上传 和 追加上传 特性增强离线下载?
- Lingua principale
- Go
- Stelle
- 50.2k
- Fork
- 7.9k
- Merge medio
- 7g 21h
- PR unite (30g)
- 6
Descrizione
### 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 / 需求描述
阿里云对象存储 现在已经支持 分片上传 和 追加上传 模式 , 希望在 离线下载 至 阿里云对象存储 时可以充分利用这两个特性 , 做到离线下载文件直接转发至阿里云对象存储
### Suggested solution / 实现思路
### 分片上传 :
将已经下载完成的分片文件以分片形式上传至 阿里云对象存储 , 已经上传完的保存分片信息 , 可以直接删除 , 节省有硬盘空间(说实话,感觉有点复杂)
[阿里云对象存储 分片上传](https://help.aliyun.com/zh/oss/user-guide/multipart-upload?spm=a2c4g.11186623.help-menu-31815.d_2_3_2_1.2d0d2382wgG70O&scm=20140722.H_31850._.OR_help-V_1)
> 可能的问题:
> 1. 大量PUT类型请求 , 可能有较多费用 ,但实际 阿里云 每月每地域 0 - 500 万次免费 大于500 万次:0.01 元/万次 还行
> 2. 部分网站文件可能不支持分片下载
### 追加上传 :
将下载的数据(分片或者直接转发?)并封装后使用追加上传方式至 阿里云对象存储 , 这个模式如果可以实现的话兼容性应该非常好 , 如果可以直接转发的话甚至可以做到不占用硬盘空间?
[阿里云对象存储 追加上传](https://help.aliyun.com/zh/oss/user-guide/append-upload-11?spm=a2c4g.11186623.help-menu-31815.d_2_3_2_5.706a12464Tj32B)
[阿里云对象存储 追加上传命令](https://help.aliyun.com/zh/oss/developer-reference/appendfromfile#concept-303823)
[阿里云对象存储 AppendObject接口](https://help.aliyun.com/zh/oss/developer-reference/appendobject#reference-fvf-xld-5db)
### Additional context / 附件
_No response_
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.