Server Reply: SSH-2.0-WeOnlyDo-wodFTPD

报错
Caused by: org.apache.commons.net.MalformedServerReplyException: Could not parse response code.
Server Reply: SSH-2.0-WeOnlyDo-wodFTPD 3.2.2.395
	at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:344)
	at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:300)
	at org.apache.commons.net.ftp.FTP._connectAction_(FTP.java:438)
	at org.apache.commons.net.ftp.FTPClient._connectAction_(FTPClient.java:962)
	at org.apache.commons.net.ftp.FTPClient._connectAction_(FTPClient.java:950)
	at org.apache.commons.net.SocketClient._connect(SocketClient.java:244)
	at org.apache.commons.net.SocketClient.connect(SocketClient.java:202)
	at cn.hutool.extra.ftp.Ftp.init(Ftp.java:195)
	... 92 common frames omitted
问题分析和解决

Server Reply: SSH-2.0-WeOnlyDo-wodFTPD_第1张图片
服务器使用的SFTP,客户端用的FTP导致的,需要将连接客户端替换成SFTP的客户端。

你可能感兴趣的:(bug处理,java)