<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Sure...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Some zope methods that may be of use (check the
zope book):</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>To create a folder within the zodb:</FONT></DIV>
<DIV><FONT face=Arial size=2> manage_addFolder</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>To add objects to the folder (you need to determine
which objects you want to add):</FONT></DIV>
<DIV><FONT face=Arial size=2> manage_addFile</FONT></DIV>
<DIV><FONT face=Arial size=2> manage_addImage</FONT></DIV>
<DIV><FONT face=Arial size=2> manage_addDocument</FONT></DIV>
<DIV><FONT face=Arial size=2>
manage_addDTMLMethod</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>hth</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Jonathan</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=tesseris@gmail.com href="mailto:tesseris@gmail.com">George</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=zope@zope.org
href="mailto:zope@zope.org">zope@zope.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, January 25, 2006 7:17
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Zope] add folder from the
filesystem</DIV>
<DIV><BR></DIV>Is there a way to add a folder with its contents from the
filesystem into Zope using an external method?<BR><BR>thx in advance@!
<P>
<HR>
<P></P>_______________________________________________<BR>Zope maillist
- <A href="mailto:Zope@zope.org">Zope@zope.org</A><BR><A
href="http://mail.zope.org/mailman/listinfo/zope">http://mail.zope.org/mailman/listinfo/zope</A><BR>**
No cross posts or HTML encoding! **<BR>(Related lists -
<BR> http://mail.zope.org/mailman/listinfo/zope-announce<BR> http://mail.zope.org/mailman/listinfo/zope-dev
)<BR></BLOCKQUOTE></BODY></HTML>