fastdfs-client-java icon indicating copy to clipboard operation
fastdfs-client-java copied to clipboard

FastDFS java client SDK

Results 82 fastdfs-client-java issues
Sort by recently updated
recently updated
newest added

```java public TrackerServer getTrackerServer(int serverIndex) throws IOException { return new TrackerServer(this.tracker_servers[serverIndex]); } ``` 这里如果只是单独的选择tracker的ip返回,那么在上传的时候无法连通该tracker服务,就会导致文件上传失败!

什么原因,求解 上传的时候报的错,请问这个head[8]==100检查的是什么呢,是头文件么

大神你好,最近在弄fastdfs上传下载,我写了个全局异常处理器,可是不知道为什么捕获不到你的org.csource.common.MyException: getStoreStorage fail, errno code: 22,程序还是能直接往下走。能为我解答一下吗?

怎么没有整合教程?

10个线程上传1100多个文件,能正常上传的只有200多条,失败900多条, ![base64](https://user-images.githubusercontent.com/40194409/85401494-ad8d7800-b58c-11ea-8494-b32ebc90345a.png)

to solve the issue: https://github.com/happyfish100/fastdfs-client-java/issues/76#issue-622380089 current version(1.29-SNAPSHOT) bug: new TrackerServer() not check the tracker available or not, IOException is no longer thrown.

服务器端可以正常上传 使用java client 1.27 就不行了,这是什么原因啊?(客户端的配置文件加载成功了) `java.io.IOException: recv cmd: 32 is not correct, expect cmd: 100 at org.csource.fastdfs.ProtoCommon.recvHeader(ProtoCommon.java:173) at org.csource.fastdfs.ProtoCommon.recvPackage(ProtoCommon.java:201) at org.csource.fastdfs.TrackerClient.getStoreStorage(TrackerClient.java:130) at org.csource.fastdfs.StorageClient.newWritableStorageConnection(StorageClient.java:1627) at org.csource.fastdfs.StorageClient.do_upload_file(StorageClient.java:639) at org.csource.fastdfs.StorageClient.upload_file(StorageClient.java:162) at org.csource.fastdfs.StorageClient.upload_file(StorageClient.java:180) at...

tracker_servers及http_tracker_http_port 都配置没问题,还是提示: org.csource.common.MyException: connect to server 172.19.0.4:23000 fail, emsg:connect timed out