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

Andreas Jung andreas at andreas-jung.com
Thu Jan 12 14:27:13 EST 2006


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

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

-=-
Modified: Zope/trunk/doc/CHANGES.txt
===================================================================
--- Zope/trunk/doc/CHANGES.txt	2006-01-12 16:13:05 UTC (rev 41286)
+++ Zope/trunk/doc/CHANGES.txt	2006-01-12 19:27:12 UTC (rev 41287)
@@ -197,6 +197,9 @@
 
     Bugs Fixed
 
+      - Collector #1999: fixed broken FTP rename functionality
+        (RNFR now returns 350 as status code instead 250)
+
       - HTTPResponse: for XML content the encoding specified within
         the XML preamble is adjusted to the real encoding of the content
         as specified through the 'charset' within the content-type

Modified: Zope/trunk/lib/python/ZServer/FTPServer.py
===================================================================
--- Zope/trunk/lib/python/ZServer/FTPServer.py	2006-01-12 16:13:05 UTC (rev 41286)
+++ Zope/trunk/lib/python/ZServer/FTPServer.py	2006-01-12 19:27:12 UTC (rev 41287)
@@ -393,7 +393,7 @@
     def rnfr_completion(self,response):
         status=response.getStatus()
         if status==200:
-            self.respond ('250 RNTO command successful.')
+            self.respond ('350 RNTO command successful.')
         else:
             self.respond ('550 %s: no such file or directory.' % self.fromfile)
 



More information about the Zope-Checkins mailing list