Hi,
On the jakarta site, a statement is made that Commons Net is
compatible with the 1.2 Java platform. However, as of v1.3.0, the
sendCommand(String, String) method in org.apache.commons.net.ftp.FTP
has the following snippet of code in it :
catch (SocketException e)
{
if (!isConnected() || _socket_ == null || !_socket_.isConnected())
{
throw new FTPConnectionClosedException("Connection
unexpectedly closed.");
}
else
{
throw e;
}
}
The problem is that _socket_ is an instance of java.net.Socket and
this class does not have an isConnected() method until the 1.4 Java
level. Hence this code will no longer compile with the 1.3 JDK. Is
there any plan to fix this, or is the backward compatibility statement
no longer true?
Thanks,
Kenneth
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]