Commit 151b69e5 authored by Fred Drake's avatar Fred Drake

implement the RFC 2389 "FEAT" command

parent 0b8832e3
...@@ -508,6 +508,13 @@ class zope_ftp_channel(ftp_channel): ...@@ -508,6 +508,13 @@ class zope_ftp_channel(ftp_channel):
def cmd_appe(self, line): def cmd_appe(self, line):
self.respond('502 Command not implemented.') self.respond('502 Command not implemented.')
def cmd_feat(self, line):
# specified in RFC 2389; gives a list of supported extensions
self.respond('211-Extensions supported:\r\n'
' MDTM\r\n'
' SIZE\r\n'
'211 END')
# Override ftp server receive channel reponse mechanism # Override ftp server receive channel reponse mechanism
......
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