java.net.SocketException: connection reset “ftp”   Leave a comment

http://cephas.net/blog/2004/05/27/commons-net-ftp-and-active-vs-pasv-connections/

在FTPClient上加上 enterLocalPassiveMode()即可

Posted 2011年04月21日 by gw8310 in 未分类

发表评论

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Google+ photo

You are commenting using your Google+ account. Log Out / 更改 )

Connecting to %s

%d 博主赞过: