[Zope-Checkins] CVS: Zope3/lib/python/Zope/Server/FTP - FTPServerChannel.py:1.1.2.4 FTPStatusMessages.py:1.1.2.2
Stephan Richter
srichter@cbu.edu
Wed, 3 Apr 2002 05:01:29 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/Server/FTP
In directory cvs.zope.org:/tmp/cvs-serv345
Modified Files:
Tag: Zope3-Server-Branch
FTPServerChannel.py FTPStatusMessages.py
Log Message:
Okay, I coul dnot leave the code in the state it was in, so I fixed it so
that it will work with clients now.
=== Zope3/lib/python/Zope/Server/FTP/FTPServerChannel.py 1.1.2.3 => 1.1.2.4 ===
self.username = ''
self.password = ''
+
+ self.reply(220, 0, self.server.server_name)
def process_request(self, command):
@@ -452,7 +454,7 @@
def listdir (self, path, long=0):
"""returns a producer"""
- return self.server.server.filesystem.listdir(path, long)
+ return self.server.filesystem.listdir(path, long)
def getDirectoryList(self, args, long=0):
=== Zope3/lib/python/Zope/Server/FTP/FTPStatusMessages.py 1.1.2.1 => 1.1.2.2 ===
''),
215: ('%s Type: %s',), # Server Type
+ 220: ('%s FTP server (Zope Async/Thread V0.1) ready.',),
221: ('Goodbye.',),
226: ('%s command successful.',
'Transfer successful.'),