java api 调用上传报错!!!
各位大虾,我部署好了fastdfs,通过命令行上传下载都成功,但是通过java api调用上传就报错如下:java.version=1.6.0_10-rc2
network_timeout=20000ms
charset=ISO8859-1
file length: 14
java.io.IOException: recv cmd: 100 is not correct, expect cmd: 10
at org.csource.fastdfs.ProtoCommon.recvHeader(ProtoCommon.java:147)
at org.csource.fastdfs.ProtoCommon.recvPackage(ProtoCommon.java:178)
at org.csource.fastdfs.StorageClient.do_upload_file(StorageClient.java:234)
at org.csource.fastdfs.StorageClient.upload_file(StorageClient.java:102)
at org.csource.fastdfs.TestClient.main(TestClient.java:86)
我用的java api应该就是 余大师的 ,请问大家遇到过这个问题没??? 我也遇到了,这时候后台server应该报错了,Connection reset by peer,
请问你解决了吗?我也求解!!!
页:
[1]