commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
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 GMT
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
 ">
+            <action issue="NET-341" dev="sebb" type="fix">
+            FTPClient.remoteAppend(String filename) uses STOR instead of APPE
+            </action>
+            <action issue="NET-339" dev="sebb" type="fix">
+            Incorrect parsing of timestamp on Windows CE
+            Fix parsing to allow for new-style DOS listing using 24hr clock rather than AM/PM
+            </action>
             <action issue="NET-338" dev="sebb" type="add">
             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;
     }
 



Mime
View raw message