[Zope] import folder at other place than root

2000-05-29 Thread peter be
Is it possible and how to change the folder that the Zope interface use for importing zexp files? I "host" friends on my Zope site, but I can't let them have access to my import folder which is in C:\Program\Zopesite\import At the moment my friends have to email me their zexp files, if they

Re: [Zope] import folder at other place than root

2000-05-29 Thread Chris McDonough
Peter, you can change this in the Python file lib/python/OFS/ObjectManager.py here: def manage_importObject(self, file, REQUEST=None): """Import an object from a file""" dirname, file=os.path.split(file) if dirname: raise 'Bad Request', 'Invalid file name