1

Please hear me out before you start crying security issues.

This is for an intranet application, hence I have full range to install any plugins or change any security permissions to suit.

What I want is for them to go to a webpage and click a link to download a file, such as a Word Document. This gets transferred to local storage of some kind (sandboxed if need be) and then is opened in word as a regular file.

When they click save, JavaScript or something will pickup the file is saved or the program is no longer accessing it and can be actioned upon, such as uploading back up to the server.

Is there any way to do this. I have looked at IndexedDb, WebStorage, HTML5 FileSystem API but I am new to all and don't see a way to do this.

I am open to coding any needed plugins as long as you don't mention Flash. The main issue I am coming across is opening a file downloaded into some form of local browser and then opening it via a desktop application, e.g. Word.

Any help, greatly appreciated.

4

1 回答 1

2

经过大量研究,唯一的方法是使用插件。IndexedDB、FileSystem API 或 WebStorage 无法访问本地文件系统。哪个好。

Silverlight 是 Intranet 和 .NET 的一个不错的选择,这是我选择的。

Silverlight 5 具有文件观察程序的完全权限。文件观察器可以用这种方法完成:有没有替代方法来完成 FileSystemWatcher 在 Silverlight 中所做的事情?

于 2013-05-06T03:48:07.797 回答