commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel F. Savarese" <...@savarese.org>
Subject Re: FTPClient related bugs: 30970 and 31122
Date Thu, 09 Sep 2004 18:06:51 GMT

In message <1094736058.1695.59.camel@newlyn2.providerlink.com>, Joseph Hindsley
 writes:
>I had submitted a patch last week for the FTP and FTPClient classes 
>(http://issues.apache.org/bugzilla/show_bug.cgi?id=30970) that doesn't 
>seem to have had any activity. The patch changes FTP to extend 
>SocketClient instead of TelnetClient since the implementation of 

If it were as simple as using SocketClient, that would have been done
from the start.  Unfortunately, the FTP control connection requires
telnet negotiation.  Also unfortunate is that telnet has asynchronous
elements that can only be implemented properly with two threads in the
absence of selectable channels.  Switching to SocketClient will make
FTPClient not work with many servers.  I think the long term solution
should be to branch, leaving the 1.2 series as J2SE 1.2 and 1.3 compatible,
and reimplement telnet using selectable I/O in a single thread on the
head branch; or start a new 2.0 branch either as a branch or in the
sandbox as commons-net2, since everything would have to be overhauled
once we start using java.nio.  Given how everyone involved has a
very limited supply of free time, I'm not sure when such a thing may
happen.  As it is we're behind on incorporating submitted feature
additions such as a network time protocol package :(

daniel



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message