[Zope] find a file's type

Allen Huang swapp0 at yahoo.com
Wed Jul 27 11:53:28 EDT 2005


is there any dtml codes that can display a file's type?
 
I made a site that allows a person to send up a document file. But in the end what I really wanted is to let people to upload .doc files. 
Since I didn't put any restriction on it, people always send up a smaller .pdf file instead.
 
So how do I encode my webpage to show the file type of the file that have already being uploaded??

		
---------------------------------
 Start your day with Yahoo! - make it your home page 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20050727/76d18ba6/attachment.htm


More information about the Zope mailing list