[Zope] How to skip validation when uploading

Dieter Maurer dieter@handshake.de
Thu, 20 Feb 2003 22:04:22 +0100


Jonas Nielsen wrote at 2003-2-20 10:13 +0000:
 > I would like to upload some regular html files using ftp port
 > 8021. However if the files are not valid html it simply won't upload
 > them, and it put an error message in the log (not containing the line
 > number of the error). If I make a new document in zope (plone), and
 > copy and paste the same code in it, zope is much more liberal about
 > the code.
 > 
 > Is it possible to remove the check when uploading ?

By default, they will be created as DTML files which must be partially
valid.

Read about PUT_factory on "Zope.org". It allows you to control
which type of object is created.


Dieter