Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何支持断点续传呢? #89

Closed
vv-248430449 opened this issue Jul 12, 2023 · 2 comments
Closed

如何支持断点续传呢? #89

vv-248430449 opened this issue Jul 12, 2023 · 2 comments

Comments

@vv-248430449
Copy link

No description provided.

@1171736840
Copy link
Collaborator

很抱歉,暂不支持

@1171736840
Copy link
Collaborator

1.0.0版本正式发布

此版本变化较大、更新内容较多,从旧版本升级要做好充分的测试!

  • 配置文件中,Amazon S3 存储平台名称由 aws-s3 更改为 amazon-s3
  • 配置文件中,GoogleCloud Storage 存储平台名称由 google-cloud 更改为 google-cloud-storage
  • 文件记录记录者接口 FileRecorder 的 record 方法更改为 save
  • 脱离 SpringBoot 独立运行(方便集成到其它框架中)
  • 支持大文件上传(自动分片上传)
  • 上传进度监控
  • 增加存储平台的 Client 工厂接口,用于支持网络代理、通过 STS 方式初始化存储平台的 Client 对象等功能
  • 支持对象存储 Object 级别 ACL (私有桶上传后也可以公开访问)
  • 对象存储支持获取临时访问链接(预签名URL)
  • 解决上传文件时需要把文件全部读入内存,导致内存占用过大的问题
  • 优化 FTP SFTP 的性能问题,使用了 Apache 对象池
  • 修复了 WebDav 的兼容性问题,经过测试支持坚果云、NextCloud ,其它平台理论上也支持,可自行测试
  • 修复某些 SpringBoot 版本下无法使用本地存储的问题
  • 存储平台的 getClient 方法加锁,解决并发情况下重复初始化的问题
  • 通过反射调用指定存储平台的方法,使其调用自定义存储平台的独有方法更方便
  • 增加了文件适配器接口,可以自行适配各种类型的资源
  • 整体架构优化、使其更易于使用

后续更新计划:
1、直接读取 HttpServletRequest 的流进行上传,文件不落盘,速度更快
2、大文件手动分片上传

阅读文档开始使用吧:https://spring-file-storage.xuyanwu.cn/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants