[Zope] uploading mutltiple files

Peter Bengtsson peter@grenna.net
Tue, 13 Feb 2001 11:27:43 -0000


If you can go fetch one, then you can fetch many. It's just a matter of
looping though a list of strings or something.

Take a look at <Zope dir>/utilities/load_site.py
That will give you some inspiration.

Peter

----- Original Message -----
From: "Lee" <lee.reilly@ntlworld.com>
To: <zope@zope.org>
Sent: Monday, February 12, 2001 11:22 PM
Subject: [Zope] uploading mutltiple files


> Hi,
>
> Could someone tell me if it is possible to upload *mutliple* files
> using, for example, <input type="file" name="file"
> enctype="multipart/form-data"> to a zope directory?
>
> I've got an app built and I'd like to add a facility for a individual
> user record system displaying every user's photograph as appropriate. My
> university's security system maintains a database of students and their
> photographs and indexes them similarly to how my app has been designed.
>
> At the moment, these pictures (GIFs) are on another server. I can access
> them this way but I'd like a facility to 'grab' these photos and store
> them in Zope directory. Is it possible to create an interface for a user
> (not via the zope admin screens) to select multiple files from this
> location (like holding down 'CTRL' while selecting them) and uploading
> (or should that be 'transferring' them)?
>
> Any advice would be appreciated.
>
> Thanks a lot,
>
> Lee
>
>
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )