一、项目结构
二、pom.xml
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
org.example
A01fastdfs
1.0-SNAPSHOT
net.oschina.zcx7878
fastdfs-client-java
1.27.0.0
junit
junit
4.13
test
org.apache.commons
commons-io
1.3.2
org.apache.maven.plugins
maven-compiler-plugin
1.9
1.9
三、fastdfs-client.properties
#http连接超时时间
fastdfs.connect_timeout_in_seconds=5
#tracker和storage网络通信超时时间
fastdfs.network_timeout_in_seconds=30
#字符编码