开发者

Apache commons.net.ftpclient on Linux

I am using org.apache.commons.net.FTPClient to upload/download/list files using FTP. The server daemon is vsftpd running on CentOS 5.4, and the apache package is 2.0

It seems that all the mentioned operations perform well on the server (judging by the log vsftpd.log) where files are uploaded, the download command is received, so does the list command. The problem is that the client deadlocks, so it never acknowledges the operation end. Same c开发者_StackOverflow中文版ode works fine when connecting to an FTP server that is running on WindowsXP. Not sure what to do

Changing the OS key with the FTPClientConfig from UNIX to NT or WINDOWS does not seem to change that behavior. I've also tried with PASIV/ACTIVE mode ftp client, without any success though

I am hoping someone could help me with this. Thanks

Peter

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜