Hey, I have a problem with using the ftp client. I'm trying to login to a ftp server, but I get a MalformedServerReplyException because the first reply string does not start with a number (it is "tralpd211"?)
* org.apache.commons.net.MalformedServerReplyException: Could not parse response code. * Server Reply: tralpd211 * at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:280) * at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:456) * at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:484) * at org.apache.commons.net.ftp.FTP.user(FTP.java:634) * at org.apache.commons.net.ftp.FTPClient.login(FTPClient.java:622) * ... If I use SmartFTP to the same server smartftp can handle this, and the commons-ftp library can't... Is there a way I can make the library handle these kind of replies? SmartFTP output: USER sora tralpd211 trapcd037 FTP server (tnftpd 20040810) ready. 331 Password required for sora. Wkr, Sofie