[Zope] Adding a File Object to a LocalFS Object

J Cameron Cooper zope-l at jcameroncooper.com
Fri Nov 5 14:37:47 EST 2004

Asad Habib wrote:
> Hello. I am trying to add a File object to a LocalFS object with id
> 'test'. I am able to detect the LocalFS object within the <dtml-in> and
> there is only one Local FS object in this particular parent Folder object.
> When the manage_addFile function call is executed, the File object is
> added to the parent Folder object instead of the contained Local FS
> object. Any help would be greatly appreciated. Thanks.

LocalFS only looks somewhat like a real folder, and it cannot really 
hold standard objects. I guess that it might have its own constructors 
for content. Try and look those up.


More information about the Zope mailing list