[Zope-Checkins] CVS: Zope/lib/python/ZServer - FTPServer.py:1.26.8.7

Andreas Jung andreas at andreas-jung.com
Thu Jan 12 14:38:32 EST 2006


Update of /cvs-repository/Zope/lib/python/ZServer
In directory cvs.zope.org:/tmp/cvs-serv27861/lib/python/ZServer

Modified Files:
      Tag: Zope-2_7-branch
	FTPServer.py 
Log Message:
      - Collector #1999: fixed broken FTP rename functionality
        (RNFR now returns 350 as status code instead 250)


=== Zope/lib/python/ZServer/FTPServer.py 1.26.8.6 => 1.26.8.7 ===
--- Zope/lib/python/ZServer/FTPServer.py:1.26.8.6	Sun Mar 27 11:36:23 2005
+++ Zope/lib/python/ZServer/FTPServer.py	Thu Jan 12 14:38:32 2006
@@ -392,7 +392,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