[Zope] TEXT FILE Operation

Rik Hoekstra rik.hoekstra@inghist.nl
Tue, 12 Sep 2000 12:14:13 +0200


> anyone know how to let Zope interact with text files on the system on it
> is running.

I take it you mean files external to the ZODB database

> Like making changes to files, search and replare some text or insert or
> delete text and save the file again?
> I'm pretty new and i don't know if it is possible for Zope.

You can just about anything you want using external methods (written in
Python) or Python Products, including reading, writing, deleting and
changing and using regular expressions. Be aware of security issues,
though, as you'll effectively be opening up part of your filesystem to
access through the web

Rik