Return-Path: Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: (qmail 48628 invoked from network); 15 Oct 2010 09:07:10 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Oct 2010 09:07:10 -0000 Received: (qmail 79317 invoked by uid 500); 15 Oct 2010 09:07:10 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 79209 invoked by uid 500); 15 Oct 2010 09:07:07 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 79198 invoked by uid 99); 15 Oct 2010 09:07:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Oct 2010 09:07:06 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Oct 2010 09:07:04 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id E4F8723889FD; Fri, 15 Oct 2010 09:06:06 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1022863 - in /commons/proper/net/trunk: RELEASE-NOTES.txt src/changes/changes.xml src/main/java/org/apache/commons/net/ftp/FTPClient.java Date: Fri, 15 Oct 2010 09:06:06 -0000 To: commits@commons.apache.org From: sebb@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20101015090606.E4F8723889FD@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: sebb Date: Fri Oct 15 09:06:06 2010 New Revision: 1022863 URL: http://svn.apache.org/viewvc?rev=1022863&view=rev Log: NET-341 FTPClient.remoteAppend(String filename) uses STOR instead of APPE Modified: commons/proper/net/trunk/RELEASE-NOTES.txt commons/proper/net/trunk/src/changes/changes.xml commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPClient.java Modified: commons/proper/net/trunk/RELEASE-NOTES.txt URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/RELEASE-NOTES.txt?rev=1022863&r1=1022862&r2=1022863&view=diff ============================================================================== --- commons/proper/net/trunk/RELEASE-NOTES.txt (original) +++ commons/proper/net/trunk/RELEASE-NOTES.txt Fri Oct 15 09:06:06 2010 @@ -1,9 +1,9 @@ - Apache Commons Net 2.1 RELEASE NOTES + Apache Commons Net 2.2-SNAPSHOT RELEASE NOTES This is primarily a maintenance release, but it also includes new features and enhancements. -Users of version 2.0 are encouraged to upgrade to 2.1, as this release includes some important bug fixes. +Users of version 2.0 are encouraged to upgrade to 2.2, as this release includes some important bug fixes. See the detailed list of changes below for full description of all bug fixes and enhancements. @@ -12,6 +12,9 @@ See the detailed list of changes below f Changes in this version include: New features: +o NET-338: ftp.FTPClient.initiateListParsing(String parserKey, String pathname) + can call createFileEntryParser with null systemName. + Fix this by adding getSystemType() which does not return null, and deprecating getSystemName(). o NET-244: Add support for FTPFileFilter filters. New classes FTPFileFilter, FTPFileFilters, new methods: FTPListParseEngine#getFiles(FTPFileFilter filter) FTPClient.listFiles(String pathname, FTPFileFilter filter) @@ -20,6 +23,9 @@ o NET-263: SubnetUtils / SubNetInfo toS o Javadoc fixes, improvements, and refactoring. Fixed Bugs: +o NET-341: FTPClient.remoteAppend(String filename) uses STOR instead of APPE +o NET-339: Incorrect parsing of timestamp on Windows CE + Fix parsing to allow for new-style DOS listing using 24hr clock rather than AM/PM o NET-313: Optionally enable EPSV with IPv4; Only send EPRT with IPv6. Fix incorrect port used with EPRT. Allow activeMaxPort == activeMinPort in getActivePort() method. o NET-328: FromNetASCIIInputStream.read(byte[], int, int) may change length passed to superclass if not doing conversion Modified: commons/proper/net/trunk/src/changes/changes.xml URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/changes/changes.xml?rev=1022863&r1=1022862&r2=1022863&view=diff ============================================================================== --- commons/proper/net/trunk/src/changes/changes.xml (original) +++ commons/proper/net/trunk/src/changes/changes.xml Fri Oct 15 09:06:06 2010 @@ -61,6 +61,13 @@ This is primarily a maintenance release, TO BE COMPLETED "> + + FTPClient.remoteAppend(String filename) uses STOR instead of APPE + + + Incorrect parsing of timestamp on Windows CE + Fix parsing to allow for new-style DOS listing using 24hr clock rather than AM/PM + ftp.FTPClient.initiateListParsing(String parserKey, String pathname) can call createFileEntryParser with null systemName. Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPClient.java URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPClient.java?rev=1022863&r1=1022862&r2=1022863&view=diff ============================================================================== --- commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPClient.java (original) +++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPClient.java Fri Oct 15 09:06:06 2010 @@ -1353,7 +1353,7 @@ implements Configurable { if (__dataConnectionMode == ACTIVE_REMOTE_DATA_CONNECTION_MODE || __dataConnectionMode == PASSIVE_REMOTE_DATA_CONNECTION_MODE) - return FTPReply.isPositivePreliminary(stor(filename)); + return FTPReply.isPositivePreliminary(appe(filename)); return false; }