[Zope] remove file from zope filesystem with Python Script

Casey Duncan casey@zope.com
Tue, 19 Mar 2002 14:07:56 -0700


folder.manage_delObjects(id)

Where id is a string or a sequence of strings.

hth,
Casey

John Hunter wrote:
> Suppose I have a folder object and a string containing the id of a
> file in that folder.  How would I remove a file in that folder on the
> zope filesystem using the Zope API from within a Python Script?
> 
> Thanks,
> John Hunter
> 
> _______________________________________________
> 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 )
> 
>