[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Content/File - File.py:1.1.2.5.2.1 NaiveFile.py:1.1.2.3.2.1

Stephan Richter srichter@cbu.edu
Wed, 10 Apr 2002 05:31:23 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Content/File
In directory cvs.zope.org:/tmp/cvs-serv23463/lib/python/Zope/App/OFS/Content/File

Modified Files:
      Tag: Zope3-Server-Branch
	File.py NaiveFile.py 
Log Message:
Okay, it finally works! We have a Publisher FTP server again. All the basic
functionalitry is there, from dir listing, file transfer to security.

I punted for now on recognizing file endings, since Jim wants to write a 
proposal for that next week. Also, I did not solve the statistical file
information problem, since this takes some more research.


=== Zope3/lib/python/Zope/App/OFS/Content/File/File.py 1.1.2.5 => 1.1.2.5.2.1 ===
 
 
-    def __init__(self, data=None, contentType=None):
+    def __init__(self, data='', contentType=None):
         """ """
 
         self.setData(data)


=== Zope3/lib/python/Zope/App/OFS/Content/File/NaiveFile.py 1.1.2.3 => 1.1.2.3.2.1 ===
 
 
-    def __init__(self, data=None, contentType=None):
+    def __init__(self, data='', contentType=None):
         """ """
 
         self.setData(data)