[Zope] LocalFS
Fred Yankowski
fred@ontosys.com
Fri, 23 Feb 2001 07:39:30 -0600
Paul,
If you're specifically wanting to create Zope objects that provide a
view to individual uploaded files stored outside of the ZODB, you
might want to consider the ExtFile product. Its function lies
somewhere between Image and LocalFS. As I understand it, LocalFS
works on a directory basis, and uses certain heuristics on file
extensions to map files to Zope class instances. With
ExtFile/ExtImage you have more explicit control over individual files.
In this case, you'd use manage_addExtImage() to create the ExtImage
object.
On Fri, Feb 23, 2001 at 02:25:55PM +0100, Paul Zwarts wrote:
> I can easily write a proper image in Zope, but directing through the mount
> evades me completely. I would not know where to begin on how to tell
> manage_addImage to go through LocalFS.....
--
Fred Yankowski fred@OntoSys.com tel: +1.630.879.1312
Principal Consultant www.OntoSys.com fax: +1.630.879.1370
OntoSys, Inc 38W242 Deerpath Rd, Batavia, IL 60510, USA