Word可以直接从没有Sharepoint的Web服务器上编辑文档? [英] Possible for Word to edit documents directly off an web server without Sharepoint?
问题描述
我有一个用例似乎很简单,但是在Google搜索后我无法找到解决方案。我在FTP服务器上有一些Word文档,我希望能够创建一个将它们下载到Word中的链接,然后将保存的更改发送回FTP服务器。
问题是我只能让Word从FTP服务器上以只读方式打开文件,而我无法自动将更改保存回服务器,或者文件会下载到临时文件该位置不会自动保存回服务器。我创建了如下链接:
< a href =ftp://ftp.example.com/www /uploads/Image/test.doc\">Test</a>
令人沮丧的是,如果我进入Word文件|打开并粘贴链接 ftp://ftp.example.com/www/uploads/Image/test.doc 我可以保存回服务器。是什么赋予了?有解决方案吗?从Google搜索看来,Sharepoint提供了这种能力,但这对我们并不实际。我们正在使用IE7和Office 2003. 解决方案
解决方案适用于IE:
将文件放在 ajaxbrowser.com (这是用于测试的WebDAV服务器)并在下一个代码中替换文件的完整路径:
var openDocumentsObject = new ActiveXObject(SharePoint.OpenDocuments);
openDocumentsObject.EditDocument('http://ajaxbrowser.com/mydoc.docx');
另一个例子:
< a href ='http://ajaxbrowser.com/mydoc.docx'id ='urltarget'target ='_ blank'>通过URI编辑< / a>
I have a use case that seems pretty simple, but after Googling around I can't find a solution. I have some Word documents on an FTP server and I'd like to be able to create a link that would download them into Word and then allow the saved changes to be sent back to the FTP server.
The problem is that I can only get Word to either open the file from the FTP server as read-only and I can't save the changes back to the server automatically, or the file downloads to a temporary location which isn't automatically saved back to the server. I'm creating my link like this:
<a href="ftp://ftp.example.com/www/uploads/Image/test.doc">Test</a>
Frustratingly, if I go into Word File|Open and paste the link "ftp://ftp.example.com/www/uploads/Image/test.doc" I can save back to the server. What gives? Is there a solution? From Googling around it seems that Sharepoint offers this ability, but that's not practical for us. We're using IE7 and Office 2003.
Solution for IE: Put a file on ajaxbrowser.com (this is WebDAV Server for testing) and replace file's full path in the next code:
var openDocumentsObject = new ActiveXObject("SharePoint.OpenDocuments");
openDocumentsObject.EditDocument('http://ajaxbrowser.com/mydoc.docx');
Another example:
<a href='http://ajaxbrowser.com/mydoc.docx' id='urltarget' target='_blank'>Edit through URI</a>
这篇关于Word可以直接从没有Sharepoint的Web服务器上编辑文档?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!