[Zope-dev] file references

Casey Duncan cduncan@kaivo.com
Thu, 07 Dec 2000 10:26:01 -0700


Dan Sashko wrote:
> 
> ~~~sorry for double post if you get it twice... I think I sent it first from
> the wrong email address
> 
> is there a way in zope to reference a document on a server without having it
> to be in the
> zope database???
> 
> if I want to display say a microsoft document, with content type of
> application/msword so that
> the Internet explorer displays it as formated word document and so that it
> can be saved back to server???
> 
> or is there other ways of accomplishing the same thing?
> 
> thank you for any help
> 
> Dan S.
> 

You can view access files in a local file system through Zope using the
LocalFS product. You should also be able to access shares mounted from a
remote server through this as well (nfs, smb, etc). However this will
not let you save the document back once it is opened. For this you could
perhaps use WebDAV ("Web Folders" in MS-speak), although I am unsure
whether LocalFS supports this. My guess would be that it does. You will
need IE5/Office 2000 for the WebDAV support on the client side, Zope
already has the server-side support built in.

Another perhaps better option would be to simply share the files via smb
and link to them from the Zope pages via a "file://" link that opens
them directly off the file server rather than through Zope. This would
prevent you from having the jerry-rig Zope into being a file server.
-- 
| Casey Duncan
| Kaivo, Inc.
| cduncan@kaivo.com
`------------------>