About Us Home Contributors License Components Sandbox Documentation Migration How-to FAQ Download Release Notes Development To-Do List Coding Specifications Project Documentation About Jakarta Commons Net Project Info Project Reports Changes Task List Unit Tests Metrics JCoverage Simian Report JavaDocs JavaDoc Report JavaDoc Warnings Report Source Xref Test Xref Project License Development Process General Information Charter Volunteering Contributing Patches Releasing Components Jakarta Community Get Involved Mailing Lists Access Source Repositories Commons Resources (Unofficial) Wiki Japanese Translation Korean Translation Related DB Commons XML Commons | ### Release History
Version | Date | Description
--- | --- | ---
1.4.0 | February 9, 2005 | fixes
1.3.0 | December 15, 2004 | many fixes and enhancements
1.3.0-dev | July 28, 2004 | regression fix
1.2.2 | June 25, 2004 | fix release
1.2.1 | May 6, 2004 | fix release
1.2.0 | April 30, 2004 | autodetection of system for listings
1.1.1 | TBD | last jdk1.1 compatible release
1.1.0 | October 23, 2003 | many enhancements and bug fixes
1.0.0 | February 23, 2003 | first jakarta-commons release
Get the RSS feed of the last changes ### Release 1.4.0 - February 9, 2005
Type | Changes | By
--- | --- | ---
| Fixed typo in method name. FTP.removeCommandListener() was missing the L. Problem reported by < Per.Lindberger@linkon.se > . | dfs
| Applied fix for PR 33942 and PR 31793. Original patch submitted by < mario@ops.co.at > | rwinston
| TFTPClient was ignoring final ACK (PR 32859). Thanks to < perttu.auramo@ekahau.com > | rwinston
| Applied fix for ACL parsing in the FTP client (PR 33972). Submitted by < robertalasch@yahoo.com > | rwinston
| Added missing NTP/SNTP unit tests to the codebase. | rwinston
| Applied fix for POP3Client returning empty reply strings (PR 34133). Thanks to < sammy_c@lineone.net > | dfs
| NTP port parameter was being ignored (PR 34219). Fixed by < felix.eichhorn@3soft.de > | rwinston
| An FTP parser for MVS was added. Submitted by < wnoto@openfinance.com > | scohen
| Added functionality for extensible parsing of FTP responses, using a configurable format string. This should enable the FTP client to operate across many different locales and date formats. | scohen
### Release 1.3.0 - December 15, 2004
Type | Changes | By
--- | --- | ---
| Applied patch for PR 31793. Thanks to < mario@ops.co.at > | rwinston
| Added message threading functionality to the NNTP client. | rwinston
| Added return code 521 to FTPReply.java - this should obviate the need for the Ant FTP task to manually declare it. | rwinston
| Add explicit notify() in TelnetInputStream::read(), so available() returns an accurate value. Thanks to < tpalkot@gmail.com > . | rwinston
| Added SNTP/NTP components into the Commons-Net codebase, courtesy of Jason Matthews. | rwinston
| Added POP3 test suite, courtesy of Mike George < mike.george@comcast.net > . | rwinston
| Applied fix for FTPClient returning null for certain timestamp formats (BUG #30737) | scohen
| Build.xml fixes - dont include example classes in redistributable .jar, remove test dependency from javadoc target, and exclude private members from generated javadoc. | rwinston
| Fixed bug in TFTPClient::setMaxTimeout(), spotted by < steve@widge.net > | rwinston
| Some changes to facilitate compilation under JDK 5.0 | dfs
| Return correct NNTP article count when high and low watermarks are 0. Spotted by < jmordax@terra.es > | rwinston
| Remove trailing null byte in TFTP packets. Thanks to < gerard.dens@alcatel.be > | rwinston
| Many javadoc fixes. | dfs
| Allow FTPClient to set transfer buffer size. | rwinston
| Ensure consistent handling of encoding throughout FTPClient operations. Patch submitted by < leif@tanukisoftware.com > . | rwinston
| Fix TelnetClient zombie thread issue | dfs
### Release 1.3.0-dev - July 28, 2004
Type | Changes | By
--- | --- | ---
| Fixed regression from migration to new parsers. Most of the new parsers parsed the file size as an integer instead of a long. Changed all of them to set the size to long. This problem was detected by the reporter of: http://issues.apache.org/bugzilla/show_bug.cgi?id=30345 | dfs
### Release 1.2.2 - June 25, 2004
Type | Changes | By
--- | --- | ---
| fixed bug in the way FTPClient.listFiles worked when a directory was not specified. Current directory was not being 'remembered'. This was most problematic in the dependent ftp task of Ant. | scohen
| fixed handling of certain unusual "special" file types in the Unix parser. | scohen
### Release 1.2.1 - May 6, 2004
Type | Changes | By
--- | --- | ---
| changed code that rendered package uncompilable under JDK 1.2 | scohen
### Release 1.2.0 - April 30, 2004
Type | Changes | By
--- | --- | ---
| Mario Ivankovits < mario@ops.co.at > added functionality supporting correct handling of the " dirstyle " attribute of NT and OS400 servers that allows them to mimic Unix ftp servers. and a bug fix affecting handling of sticky and suid bits on Unix FTP servers. | scohen
| Mario Ivankovits < mario@ops.co.at > added parser for OS400. | scohen
| Added a functional junit test testing list parsing against real servers and fix several bugs found through this test. | jbrekke,scohen
| Ted Wise < ctwise@bellsouth.net > provided a patchto add the XHDR extended NNTP command. | dfs
| Deprecated FTPFileListParser interface, DefaultFTPFileListParser class, and the FTPClient.listFiles methods that accepted an FTPFileListParser parameter. These deprecated classes and methods will be removed in version 2.0. | scohen,dfs
| Added org.apache.commons.net.parser.FTPFileEntryParserFactory interface and a default implementation: DefaultFTPFileEntryParserFactory. This addition facilitates the autodetection of which FTPFileEntryParser to use to generate listings. FTPClient.listFiles methods were added that implement autodetection. | scohen
### Release 1.1.1 - TBD
Type | Changes | By
--- | --- | ---
| Removed all JDK 1.1 incompatibilities that had been introduced unintentionally in previous versions. Release 1.1.1 is the last JDK 1.1 compatible release. Any future 1.1.x maintenance releases will remain JDK !.1 compatible, but version 1.2 may break compatibility and will be guaranteed to work with only J2SE 1.2 and later. | scohen
### Release 1.1.0 - October 23, 2003
Type | Changes | By
--- | --- | ---
| Rory Winston < Rory.Winston@telewest.co.uk > provided patches to add the following extended NNTP commands to NNTPClient: XOVER, AUTHINFO USER, AUTHINFO PASS, and LIST ACTIVE. | dfs
| Changed connection hooks for FTP, SMTP, POP3, and NNTP classes to force use of an 8-bit US-ASCII superset (ISO-8859-1) for protocol communication. This was necessary because InputStreamReader and OutputStreamWriter use the default client-side character set encoding. fasselin@ca.ibm.com reported failure of SMTP on OS/390 which has EBCDIC as the native character set. | dfs
| Applied variation of fix suggested by Matthieu Recouly < matthieu.recouly@laposte.net > so that UnixFTPEntryParser may handle listings of the form
    drwxr-xr-x 1 usernameftp 512 Jan 29 23:32 prog
where the space between user name and group is omitted. | dfs
| Applied patch from Stephane Este-Gracias < sestegra@free.fr > that fixes the parsing of VMS listings by VMSFTPEntryParser.. | dfs
| If the buffer queue run full, the run() method sometimes hangs forever. Changed wait() to wait(100) as with other changes in TelnetInputStream. Fix submitted From: J. Matysiak ( j.matysiak@cenit.de ). | brekke
| FTP.smnt(String dir) was not passing on the dir to the SMNT command as an argument. | brekke
| Added a link to the FAQ currently hosted on the Apache Wiki. | brekke
| Changed package private NNTP._reader and NNTP._writer member variables to protected NNTP._reader_ and NNTP._writer_ variables as suggested by issue report 16995 to facilitate extending NNTPClient functionality in subclasses. | dfs
| Changed name of FTPClient .__openDataConnection() to FTPClient._openDataConnection_() to remain consistent with the convention in the code that protected members are of the form _foo_. At some point __openDataConnection() had been changed from private to protected. | dfs
| Added terminal option support to the telnet client with tests. From Bruno D'Avanzo ( b.davanzo@inwind.it ). | brekke
| New parsers merged with mainline with support for old list parsers. | scohen
### Release 1.0.0 - February 23, 2003
Type | Changes | By
--- | --- | ---
| Added a migration document for moving from NetComponents to Commons/Net. | brekke
| Moved the ftp2 tree with tests to a proposal directory and setup a build for that code. This can grow in this area so users don't think it is production ready. | brekke
| Cleaned up license header on some source. | dfs
| Moved .io and .util to .net.io and .net.util in preparation for 1.0 release. | dfs
| Fixed typo in NNTP.removeProtocolCommandListener() method name. It was missing an L. From: joev@atg.com. | dfs
| Various site updates including this changes doc and publish date information. | brekke
| Patch for restarting FTP file transfers. The offset was not being sent immediately before the data transfer command on account. The bug was apparently introduced in NetComponents when it was decided to always send a PORT command before each data transfer to avoid socket reuse problems on Windows. From: Tapan Karecha ( tapan@india.hp.com ). | dfs
| Applied a fix for potential deadlock in TelnetInputStream by changing a wait() to a wait(100). From: Tapan Karecha ( tapan@india.hp.com ). | dfs
| FTP examples now use passive ftp connections. | dfs