# 2.0.1.RELEASE更新记录
## 1、新增文件下载火狐浏览器中文乱码处理
## 2、新增文件批量下载,合并成ZIP压缩包
# 说明
framework-fastdfs模块是基于fastdfs服务构建的文件上传和下载工具包。
# GetStart
1. 通过后端脚手架framework-fastdfs,创建项目
2. 检查项目中pom.xml中是否引入
<dependency>
<groupId>com.xdbigdata.framework</groupId>
<artifactId>framework-fastdfs</artifactId>
</dependency>
3. 编写fastdfs服务器配置(fastdfs.properties)
![](http://doc.xdbigdata.com/img/fastdfs1.png)
4. 在spring boot配置文件中添加fastdfs配置
![](http://doc.xdbigdata.com/img/fastdfs2.png)
5. fastdfs其它配置信息
![](http://doc.xdbigdata.com/img/fastdfs3.png)
6. 具体使用
使用FastDFSClient中的静态方法操作即可
没有合适的资源?快使用搜索试试~ 我知道了~
framework-fastdfs.zip
共31个文件
class:9个
java:9个
factories:2个
5星 · 超过95%的资源 需积分: 49 33 下载量 156 浏览量
2020-07-23
16:56:14
上传
评论 1
收藏 78KB ZIP 举报
温馨提示
官方的storageClient.download_file1(filepath)下载目前只支持单文件下载,如果需要实现批量下载目前需要自己组装,刚好目前项目有这个需求,所以把实习方式共享出来
资源推荐
资源详情
资源评论
收起资源包目录
framework-fastdfs.zip (31个子文件)
framework-fastdfs
framework-fastdfs.iml 6KB
src
main
resources
META-INF
spring.factories 117B
fastdfs.properties.sample 266B
java
com
xdbigdata
framework
fastdfs
properties
FastDFSProperties.java 2KB
constant
FastDFSConstant.java 880B
exception
FastDFSException.java 954B
TrackerServerFactory.java 876B
enums
FileSuffixContentType.java 2KB
ErrorCode.java 2KB
FastDFSClientConfig.java 3KB
TrackerServerPool.java 3KB
FastDFSClient.java 26KB
target
framework-fastdfs-2.0.0.RELEASE-sources.jar 15KB
framework-fastdfs-2.0.0.RELEASE.jar 23KB
maven-status
maven-compiler-plugin
compile
default-compile
createdFiles.lst 584B
inputFiles.lst 936B
generated-sources
annotations
classes
com
xdbigdata
framework
fastdfs
properties
FastDFSProperties.class 4KB
TrackerServerFactory.class 1KB
FastDFSClient.class 20KB
TrackerServerPool.class 3KB
constant
FastDFSConstant.class 588B
FastDFSClientConfig.class 3KB
exception
FastDFSException.class 1KB
enums
FileSuffixContentType.class 3KB
ErrorCode.class 3KB
META-INF
spring.factories 117B
spring-configuration-metadata.json 1KB
fastdfs.properties.sample 266B
maven-archiver
pom.properties 138B
README.md 876B
pom.xml 2KB
共 31 条
- 1
资源评论
- coder_shadow2023-04-10先拿来看看,不知道能不能用上 参考下
haibo8023
- 粉丝: 24
- 资源: 7
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功