FTP文件上传错误:Connection closed without indication解决

hutuyun-ad-banner.png ai-qy.gif

环境信息

  • Windows 10;
  • Serv-U 15.0.1.20;

解决办法

错误信息:

connecting...ftp服务器:192.168.5.157:21
org.apache.commons.net.ftp.FTPConnectionClosedException: Connection closed without indication.
    at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:298)
    at org.apache.commons.net.ftp.FTP._connectAction_(FTP.java:365)
    at org.apache.commons.net.ftp.FTPClient._connectAction_(FTPClient.java:630)
    at org.apache.commons.net.SocketClient.connect(SocketClient.java:164)
    at org.apache.commons.net.SocketClient.connect(SocketClient.java:184)
    at com.util.FtpUtils.initFtpClient(FtpUtils.java:70)
    at com.util.FtpSample.main(FtpSample.java:10)

解决: Serv-U管理控制台->域详细信息->增加IP允许访问规则。

ftp-error-connection-closed-without-indication-1.jpg

赞(0)
未经允许禁止转载:优米格 » FTP文件上传错误:Connection closed without indication解决

评论 抢沙发

合作&反馈&投稿

商务合作、问题反馈、投稿,欢迎联系

广告合作侵权联系