Truncated server reply exception in FTP
843790Oct 10 2008 — edited Oct 15 2008hi all ,
I'm currently using Commons-NET 1.4.1 and I have a trouble in connecting to a FTP server. I am getting a "truncated server reply" exception. i am using this code inside an applet.
The Exception is:
rg.apache.commons.net.MalformedServerReplyException: Truncated
server reply: at
org.apache.commons.net.ftp.FTP.__getReply(FTP.java:260) at
org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:410) at
org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:438) at
org.apache.commons.net.ftp.FTP.user(FTP.java:588) at
org.apache.commons.net.ftp.FTPClient.login(FTPClient.java:609)