Word 是否可以在没有 Sharepoint 的情况下直接从 Web 服务器编辑文档? [英] Possible for Word to edit documents directly off an web server without Sharepoint?

查看:21
本文介绍了Word 是否可以在没有 Sharepoint 的情况下直接从 Web 服务器编辑文档?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个看起来很简单的用例,但在谷歌搜索后我找不到解决方案.我在 FTP 服务器上有一些 Word 文档,我希望能够创建一个链接,将它们下载到 Word 中,然后允许将保存的更改发送回 FTP 服务器.

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.

问题是我只能让 Word 从 FTP 服务器以只读方式打开文件,而且我无法自动将更改保存回服务器,或者文件下载到临时位置t 自动保存回服务器.我正在像这样创建我的链接:

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>

令人沮丧的是,如果我进入 Word 文件|打开并粘贴链接ftp://ftp.example.com/www/uploads/Image/test.doc"我可以保存回服务器.是什么赋予了?有解决办法吗?通过谷歌搜索似乎 Sharepoint 提供了这种能力,但这对我们来说并不实用.我们使用的是 IE7 和 Office 2003.

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.

推荐答案

IE 解决方案:将文件放在 ajaxbrowser.com(这是用于测试的 WebDAV 服务器)并在下一个代码中替换文件的完整路径:

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');

另一个例子:

<a href='http://ajaxbrowser.com/mydoc.docx' id='urltarget' target='_blank'>Edit through URI</a>

这篇关于Word 是否可以在没有 Sharepoint 的情况下直接从 Web 服务器编辑文档?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆