webdav

Read subject and body of email using WebDAV and C#

那年仲夏 提交于 2019-12-10 17:55:20
问题 I am using this example from Microsoft to read the subject of an email using WebDAV. I would also like to read the body, but am unsure how to approach this. I believe this code is what needs to be modified: strQuery = "<?xml version=\"1.0\"?><D:searchrequest xmlns:D = \"DAV:\" >" + "<D:sql>SELECT \"DAV:displayname\" FROM \"" + strRootURI + "\"" + "WHERE \"DAV:ishidden\" = false AND \"DAV:isfolder\" = false" + "</D:sql></D:searchrequest>"; As you can see, this code only returns the displayname

MS Word opens documents hosted on WebDav share read-only on Windows Vista and 7 but only if no other webdav connections are open

南笙酒味 提交于 2019-12-10 17:45:19
问题 We have a WebDav server with some Word documents on it. (We are using PHP's HTTP_WebDAV_Server but get the same issue on tests with Apache mod_dav - both use digest authentication, basic auth doesn't work on Vista or later) We have a web page that opens the word documents using javascript like: Doc = new ActiveXObject("Sharepoint.OpenDocuments.3"); Doc.EditDocument(url, 'Word.Document'); which causes word to connect to the webdav server and open the document, bypassing IE and most of windows

Add a <clear /> element to WebDAV authoringRules using powershell

懵懂的女人 提交于 2019-12-10 15:56:19
问题 I am adding a WebDAV authoringRule using Add-WebConfiguration /system.webserver/webdav/authoringRules -PSPath IIS: -Location "$site_name/$app_name/VD" -Value @{users="*";path="*";access="Read,Write"} In some environments, this is conflicting with the same authoring rule in the parent, and thus throwing an error. I want to add a clear element to the start of the authoringRules so it looks something like this <authoringRules> <clear /> <add users="*" path="*" access="Read, Write" /> <

Upload large files to WebDAV with resume support

假如想象 提交于 2019-12-10 12:04:14
问题 I want to upload large files to ownCloud with WebDAV API. I use this code to do this: <?php $url = "http://user:password@owncloud.local/remote.php/webdav/test.mp4"; $localfile = "test.mp4"; $fp = fopen ($localfile, "r"); $ch = curl_init(); curl_setopt($ch, CURLOPT_VERBOSE, 1); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_PUT, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_INFILE, $fp); curl_setopt($ch, CURLOPT_INFILESIZE, filesize($localfile));

How do I incorporate WebDAV into my iPhone application?

老子叫甜甜 提交于 2019-12-10 10:47:27
问题 I would like to add WebDAV to my iPhone application. What is the best way / library to enable this? 回答1: WebDAV is just an extension to HTTP. Thus, you can use any of the existing HTTP APIs available on the iPhone to implement WebDAV, assuming that your needs don't require customization to the request/response beyond that which is supported by the underlying API. There are also a number of Objective-C based WebDAV client APIs. Maybe one of those will work? Hard to say, given the lack of

Edit files (read/edit/save) in java based web application via webdav

。_饼干妹妹 提交于 2019-12-09 23:13:48
问题 im searching for informations how to implement a service in our servlet based java web application which can handle online editing (reading / editing / saving) of some common file types like the programs of the office suite via webdav. We have a tomcat 7 running and using webdav already for mounting folders on client computers (implemented by an colleague) which works fine. Now im having the request to research ways to implement this online editing features (for example open a .doc file in

implementing simple Document management

折月煮酒 提交于 2019-12-09 12:54:12
问题 My qustion is: How would you go on implementing simple DMS(document management) based on following requirements? DMS shouls be distributed web application. Support for document versioning. Support for document locking. Document search. Im already clear on what technologies I want to use. I will use Sring MVC, Hibernate and relational (most likely MYSQL) database. One thing Im not very clear on is if I need to use webdav, since I could just upload or download documets. I thing I have to

Opencms webdav not working

99封情书 提交于 2019-12-08 13:37:06
问题 With OpenCms 7.5.3 fresh install: I create an index.htm page, then export it via webdav to disk. It creates index.html.xml and __properties/index.html.xml.properties. Thats ok. Delete index.html from OpenCms and publish. Try to import previously exported files via webdav and... Error 409 conflict when importing __properties/index.html.xml I tried with 3 different webdav clients, including the Eclipse plugin for webdav. Also tried with OpenCms 7.5.4 and 8.5.0 Any ideas? Thanks. 回答1: It seems

【Android】WebDav For Android

江枫思渺然 提交于 2019-12-08 11:53:29
最近在写一个云备份功能,参考了一下市面上的软件,发现有一种采用WebDav协议的云备份成本比较低,故特地研究一下使用。 服务器提供商是使用国内的坚果云,还是非常良心的。 坚果云官网: https://www.jianguoyun.com 注册账号后,点击账户信息,安全选项中即可看到 第三方应用管理 这里需要三个东西,服务器地址、账户、密码(这个密码是你为应用单独开辟的,不是用户密码),具体参考: http://help.jianguoyun.com/?tag=webdav 拿到数据后,我们就可以开始进行安卓开发了。 1.依赖以及权限设置 因为涉及到网络,所以需要在Manifests中设置联网权限: <uses-permission android:name="android.permission.INTERNET" /> 同时注意安卓9.0以上的网络安全策略,需要单独配置一下: 在res新建一个 network_config.xml <?xml version="1.0" encoding="utf-8"?> <network-security-config> <base-config cleartextTrafficPermitted="true" /> <domain-config cleartextTrafficPermitted="true"> <domain