Click to See Complete Forum and Search --> : webdav and web
tonizz
12-28-2006, 04:41 AM
Hi, Iam developing a web application which requires storing files. Those files could be loaded and modified by external clients. I have configured Webdav with Tomcat and I can load remote files as well but when I make a link from my web application to the remote file, this is opened by the navigator plugin or by openoffice application where, when I want to edit the document this is loaded localy in both cases and when I try to "save" it, it is saved only locally. I only can edit the file if, from openoffice I do file->open->"remotefile". But I want to access the file on read/write mode from a link or button of a web page.
Do you know how to solve the problem?
Thanks!
_Aerospace_Eng_
12-28-2006, 05:06 AM
Sounds like you are using the wrong format for your files. You seem to be needing some type of CMS. Once the document is opened in the browser it becomes local. The user would need to reupload the file. So like I said look into a CMS (content management system).
tonizz
12-28-2006, 06:11 AM
Then, do you think than IE always is going to download the file and open it as local file?
The only way I have had results is using ActiveX. my IExplorer launchs OpenOffice with the url of the file as parameter whith a ActiveX object. But this option is for a time, because this system must be implanted in multiple machines and i donīt want to have to configure the IExplorer security settings for each one. It is not desirable. Other option was open the remote file with the Embeed plugin of OpenOffice but it only opens the file in read only mode, or I canīt or donīt know how to open it in write mode.
Thanks!!
_Aerospace_Eng_
12-28-2006, 06:14 AM
Yes IE will always open the local copy because its opening a temp file loaded into the users browser. As I said you NEED a CMS. There are plenty of them out there. www.hotscripts.com has a few. TinyMCE (http://tinymce.moxiecode.com/) comes to mind.
ray326
12-28-2006, 03:22 PM
Consider using FTP rather than WebDAV. Many editors will directly use FTP as a type of file system, loading and saving (with local intermediary storage of course) directly through the FTP server.