[Zope] add folder from the filesystem

Jonathan dev101 at magma.ca
Wed Jan 25 07:26:56 EST 2006


Sure...

you need to have your external method access the file system 'folder/directory' and then read each file in the folder to get the contents of the files.

Some zope methods that may be of use (check the zope book):

To create a folder within the zodb:
    manage_addFolder

To add objects to the folder (you need to determine which objects you want to add):
    manage_addFile
    manage_addImage
    manage_addDocument
    manage_addDTMLMethod


hth

Jonathan

  ----- Original Message ----- 
  From: George 
  To: zope at zope.org 
  Sent: Wednesday, January 25, 2006 7:17 AM
  Subject: [Zope] add folder from the filesystem


  Is there a way to add a folder with its contents from the filesystem into Zope using an external method?

  thx in advance@! 


------------------------------------------------------------------------------


  _______________________________________________
  Zope maillist  -  Zope at zope.org
  http://mail.zope.org/mailman/listinfo/zope
  **   No cross posts or HTML encoding!  **
  (Related lists - 
   http://mail.zope.org/mailman/listinfo/zope-announce
   http://mail.zope.org/mailman/listinfo/zope-dev )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20060125/e5e84afb/attachment.htm


More information about the Zope mailing list