Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Truncated server reply exception in FTP

843790Oct 10 2008 — edited Oct 15 2008
hi 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)
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 12 2008
Added on Oct 10 2008
3 comments
1,779 views