[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/ - Collector #1999: fixed broken FTP rename functionality

Andreas Jung andreas at andreas-jung.com
Thu Jan 12 14:34:47 EST 2006


Log message for revision 41289:
        - Collector #1999: fixed broken FTP rename functionality
          (RNFR now returns 350 as status code instead 250)
  

Changed:
  U   Zope/branches/Zope-2_8-branch/doc/CHANGES.txt
  U   Zope/branches/Zope-2_8-branch/lib/python/ZServer/FTPServer.py

-=-
Modified: Zope/branches/Zope-2_8-branch/doc/CHANGES.txt
===================================================================
--- Zope/branches/Zope-2_8-branch/doc/CHANGES.txt	2006-01-12 19:28:14 UTC (rev 41288)
+++ Zope/branches/Zope-2_8-branch/doc/CHANGES.txt	2006-01-12 19:34:46 UTC (rev 41289)
@@ -22,6 +22,15 @@
 
    - Collector #1233: port ZOPE_CONFIG patch from Zope 2.7 to Zope 2.8
 
+
+  after Zope 2.8.5 
+
+    Bugs Fixed
+
+      - Collector #1999: fixed broken FTP rename functionality
+        (RNFR now returns 350 as status code instead 250)
+
+
   Zope 2.8.5 (2005/12/19)
 
     Bugs Fixed

Modified: Zope/branches/Zope-2_8-branch/lib/python/ZServer/FTPServer.py
===================================================================
--- Zope/branches/Zope-2_8-branch/lib/python/ZServer/FTPServer.py	2006-01-12 19:28:14 UTC (rev 41288)
+++ Zope/branches/Zope-2_8-branch/lib/python/ZServer/FTPServer.py	2006-01-12 19:34:46 UTC (rev 41289)
@@ -393,7 +393,7 @@
     def rnfr_completion(self,response):
         status=response.getStatus()
         if status==200:
-            self.respond ('250 RNTO command successful.')
+            self.respond ('350 RNFR command successful.')
         else:
             self.respond ('550 %s: no such file or directory.' % self.fromfile)
 



More information about the Zope-Checkins mailing list