Watch 1 Star 0 Fork 36

芒果 / Spring-fastdfsJava

forked from shenzhanwang / Spring-fastdfs 
Join us
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Spring MVC整合FastDFS客户端实现文件上传 spread retract

Clone or download
Loading...
README.md

Spring-fastdfs

本项目基于FastDFS的客户端与SpringMVC进行整合实现文件的上传、删除、下载的功能。

mvn clean install
  • 得到的jar文件导入Spring项目即可使用。
  • fastDFS的配置文件放在classpath:conf/fdfs_client.conf下,根据实际进行调整。
  • 前端页面访问入口:localhost:8080/Spring-fastdfs/fileupload
  • 文件删除接口:localhost:8080/Spring-fastdfs/delete?fileid=xxxxxx
  • 若要下载文件,直接根据FastDFS服务器Nginx模块的配置进行访问即可
  • FastDFSClient类对原生的API进行了再次封装,使用起来更方便。

Comments ( 0 )

Sign in for post a comment

Java
1
https://gitee.com/caterwei/Spring-fastdfs.git
git@gitee.com:caterwei/Spring-fastdfs.git
caterwei
Spring-fastdfs
Spring-fastdfs
master

Help Search

205735 778617b6 1899542 205747 347fc4a1 1899542