[Zope-PTK] Question

Kevin Dangoor kid@kendermedia.com
Tue, 27 Jun 2000 21:27:50 -0400


----- Original Message -----
From: "Jonathan Desp" <jonathandesp@atoma.f2s.com>
To: <zope-ptk@zope.org>
Sent: Tuesday, June 27, 2000 9:15 PM
Subject: [Zope-PTK] Question


> How I can make .zexp ? I want to upload 300 files into my zope, I need
> to put it inside a .zexp, if I want to be able to import it.
>
> Do you know how to make a .zexp ? with a directory..

Actually, .zexp is a Zope export file. It is essentially your pickled Zope
objects, so this isn't really a solution for uploading a whole bunch of
files into Zope. I'm not exactly certain what *is* the best solution for
doing so. You could possibly write a small python script that uses the
ZClient library (look in your Zope directory
/lib/python/ZPublisher/Client.py) to call the manage_addDTMLMethod (or
whichever) method to add the objects...

Kevin