[Zope] Creating files outside of Zope with type ZTL.

Chris Withers chrisw@nipltd.com
Fri, 16 Aug 2002 10:55:47 +0100


Noah wrote:
> Whenever I use Dreamweaver to create a new file in Zope via
> FTP or WebDAV it comes up as type DTML. How do I create
> files with default type of Template (ZTL)???

Search for PUT_factory, here's a good how-to:

http://www.zope.org/Members/glpb/dwhowto

> Why all the fuss just to serve a file from the file system?
> Why isn't this built-in?

'cos Zope has ZODB, and there's nto that many situations where you really want 
to serve a file from the filesystem rather than an object from the object 
database :-)

cheers,

Chris