[Zope-PTK] Question

Paul Everitt paul@digicool.com
Fri, 30 Jun 2000 05:34:20 -0400


If you can get the files onto the server in some other way, the fastest
performance approach is to write an external method.  Read the files in
and pass them into the constructor for a whatever it is you are trying
to create.

--Paul

Jonathan Desp wrote:
> 
> someone said me to use load site, but there is a bug with this program.
> 
> Anyone know another way to upload 900 files in one shot ?
> 
> here is my website company:
> 
> www.atomasoft.com
> 
> I'm searching a web expert for my website.
> 
> Kevin Dangoor wrote:
> >
> > ----- 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
> 
> --
> Very truly yours,
> 
> <><><><><><><><><><><><><><>
> Jonathan Desp
> Atoma
> Matter will become Software
> http://www.atoma.f2s.com
> <><><><><><><><><><><><><><>
> 
> _______________________________________________
> Zope-PTK maillist  -  Zope-PTK@zope.org
> http://lists.zope.org/mailman/listinfo/zope-ptk
> 
> See http://www.zope.org/Products/PTK/Tracker for bug reports and feature
> requests