In message <[EMAIL PROTECTED]>, 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]