[Zope] Batch-adding images with extra attribs

Casey Duncan cduncan@kaivo.com
Thu, 10 May 2001 08:18:54 -0600


Etienne Labuschagne wrote:
> 
> Hi there
> 
> I have a lot of images that I must upload into Zope.  I can probably use
> FTP, but I have another problem.  I add a copyright attribute to each image.
> 
> It would be great if I can tell Zope, upload all images in directory c:\foo
> and give them a copyright attribute of bar.  I have access to the server on
> which Zope is running, so it will probably be the easiest to write an
> external Python method to do the uploading from the server's file system.

Yes. You might also be able to use XML-RPC.

> My question is, how do I upload an image directly from disk into Zope?

If you mean the client's disk, then XML-RPC. Otherwise, an external
method.

> 
> Thanks in advance.
> Etienne
> 

-- 
| Casey Duncan
| Kaivo, Inc.
| cduncan@kaivo.com
`------------------>