[Zope-Checkins] CVS: Zope3/lib/python/Zope/Server/VFS - OSFileSystem.py:1.1.2.8
Stephan Richter
srichter@cbu.edu
Wed, 3 Apr 2002 07:12:40 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/Server/VFS
In directory cvs.zope.org:/tmp/cvs-serv17142/lib/python/Zope/Server/VFS
Modified Files:
Tag: Zope3-Server-Branch
OSFileSystem.py
Log Message:
Okay, I think the basic funcationality of an FTP server is now mapped.
Here are some bigger issues left to solve:
- We still need a better authentication mechanism; right now the authenti-
cated user can do everything the server user can do.
- I am not using Tasks for the commands that could potentially take a
while. I think all commands should be started in the Channel, and as soon
as a FileSystem access comes up, we switch to a task. Shane, what do you
think?
=== Zope3/lib/python/Zope/Server/VFS/OSFileSystem.py 1.1.2.7 => 1.1.2.8 ===
# directory only.
ld = os.listdir(p)
+ ld.sort()
if not long:
return ListProducer (ld, 0, None)
else:
@@ -81,7 +82,6 @@
stat = safe_stat(path)
if stat is not None:
result.append((file, safe_stat(path)))
-
finally:
return ListProducer(result, 1, self.longify)