Sounds strange. We've never come across this behavior. What version
of the server and os exactly are you using?
>>>>> On Wed, 09 Jun 2004 11:02:41 -0400, [EMAIL PROTECTED] said:
> I'm currently using Commons-NET 1.2.1 and I'm having trouble
> connecting to a Windows NT FTP server. I am getting a "truncated
> server reply" exception after it sends the USER command. Here's the
> stack trace:
> org.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)
> I noticed that the NT server FIRST replies with an empty line, and
> THEN it replies with a 331 (i think) Password required. If I debug
> and force another _controlInput.readLine() in the __getReply()
> method then I DO get the proper reply, but then it fails again when
> it send the PASS command with the same error.
> Is there any way around this, is this Windows NT FTP server behaving
> properly?
> Any help would be appreciated, thank you.
> Mitch
--
=====================================================================
Jeffrey D. Brekke [EMAIL PROTECTED]
Wisconsin, USA [EMAIL PROTECTED]
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]