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

Andreas Jung andreas at andreas-jung.com
Thu Jan 12 14:28:15 EST 2006


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

Changed:
  U   Zope/branches/2.9/doc/CHANGES.txt
  U   Zope/branches/2.9/lib/python/ZServer/FTPServer.py

-=-
Modified: Zope/branches/2.9/doc/CHANGES.txt
===================================================================
--- Zope/branches/2.9/doc/CHANGES.txt	2006-01-12 19:27:12 UTC (rev 41287)
+++ Zope/branches/2.9/doc/CHANGES.txt	2006-01-12 19:28:14 UTC (rev 41288)
@@ -26,6 +26,9 @@
 
     Bugs fixed
 
+      - Collector #1999: fixed broken FTP rename functionality
+        (RNFR now returns 350 as status code instead 250)
+
       - officially deprecated the zLOG module (to be removed in Zope 2.11).
         Use the logging module of Python instead.
 

Modified: Zope/branches/2.9/lib/python/ZServer/FTPServer.py
===================================================================
--- Zope/branches/2.9/lib/python/ZServer/FTPServer.py	2006-01-12 19:27:12 UTC (rev 41287)
+++ Zope/branches/2.9/lib/python/ZServer/FTPServer.py	2006-01-12 19:28:14 UTC (rev 41288)
@@ -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