Commit de31b967 authored by Andreas Jung's avatar Andreas Jung

- Collector #1999: fixed broken FTP rename functionality

        (RNFR now returns 350 as status code instead 250)
parent 5a6358fc
...@@ -22,6 +22,15 @@ Zope Changes ...@@ -22,6 +22,15 @@ Zope Changes
- Collector #1233: port ZOPE_CONFIG patch from Zope 2.7 to Zope 2.8 - 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) Zope 2.8.5 (2005/12/19)
Bugs Fixed Bugs Fixed
......
...@@ -393,7 +393,7 @@ class zope_ftp_channel(ftp_channel): ...@@ -393,7 +393,7 @@ class zope_ftp_channel(ftp_channel):
def rnfr_completion(self,response): def rnfr_completion(self,response):
status=response.getStatus() status=response.getStatus()
if status==200: if status==200:
self.respond ('250 RNTO command successful.') self.respond ('350 RNFR command successful.')
else: else:
self.respond ('550 %s: no such file or directory.' % self.fromfile) self.respond ('550 %s: no such file or directory.' % self.fromfile)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment