webdav

How to edit the modified date of a folder/file?

…衆ロ難τιáo~ 提交于 2019-12-02 03:57:20
I am creating folders in SP using webdav with HttpWebRequest, MKCOL method. And I upload files using WebClient. For both uploaded files and created folders, how can I set their modified date? I am looking for something similar to Directory.SetLastWriteTime , File.SetLastWriteTime You can use following code for that //Change the file created time. File.SetCreationTime(path, dtCreation); //Change the file modified time. File.SetLastWriteTime(path, dtModified); string path = @"c:\DirName"; Directory.SetLastWriteTime(path, DateTime.Now); dt = Directory.GetLastWriteTime(path); 来源: https:/

WebDav troubles for restfull WCF web service

只愿长相守 提交于 2019-12-01 17:37:49
I created a WCF restfull service in .NET 4 and I published it under IIS 7.5/windows 7 x86. The verbs GET and POST worked fine, but the DELETE and PUT gave an error: Error: The remote server returned an error: (405) Method Not Allowed. After googling (a lot), I've found out that the problem is caused by WebDav module which is installed (automatically? dunno) in IIS. The only approach that worked for me was the one found here . However, removing the webdav module from the entire web site is somewhat too intrusive, in my opinion. Does anyone know another approach to inhibit the filtering action

How can a read receipt be suppressed?

ⅰ亾dé卋堺 提交于 2019-12-01 17:05:25
问题 I am programmatically "reading" emails using WebDav. I am also deleting these emails when I've finished having my way with them, however, this is causing an interesting problem. Each time I delete an email the original sender is getting a not read response. I have logged into Outlook Web App and checked the option Do not automatically send a response but this doesn't seem to help. Is there ANY way to remove the request for read receipt from the email before deleting it? 回答1: We decided that

WebDav troubles for restfull WCF web service

走远了吗. 提交于 2019-12-01 16:21:02
问题 I created a WCF restfull service in .NET 4 and I published it under IIS 7.5/windows 7 x86. The verbs GET and POST worked fine, but the DELETE and PUT gave an error: Error: The remote server returned an error: (405) Method Not Allowed. After googling (a lot), I've found out that the problem is caused by WebDav module which is installed (automatically? dunno) in IIS. The only approach that worked for me was the one found here. However, removing the webdav module from the entire web site is

How to use WebDav to match dav:href to Outolook Interop href value

安稳与你 提交于 2019-12-01 12:12:54
I have previously used webdav to access the sent messages on an exchange 2003 server based on the subject and time and this has worked. I now need to implement another feature which means dragging a message from client outlook (not web access) on to a windows form then querying webdav on exchange to get all the information about this message. I can get the messages href using the following code: Dim msg As MAPI.Message = CType(session.GetMessage(mail.EntryID), MAPI.Message) Dim id as string = CType(CType(msg.Fields(), MAPI.Fields).Item(&H6707001E), MAPI.Field).Value.ToString However there are

Using Office Web Apps, Can you open a document via webdav?

二次信任 提交于 2019-12-01 11:15:36
We're in the process of converting a legacy desktop application into a web enabled equivalent. However one feature is causing difficulty, editing MS Word documents. Current proposed solution is publishing the DOC and DOCX files via WebDAV and using a custom ActiveX component to launch WinWord and pointing it at a file via a URL. This works but it's limited in scope and the worlds moved on since it was conceived. Is is possible to use the new Office Web Apps to do this completely in-browser? So, still publish DOC files via WebDAV, but only to a web server hosting the Office Web Apps and

Using Office Web Apps, Can you open a document via webdav?

左心房为你撑大大i 提交于 2019-12-01 08:57:14
问题 We're in the process of converting a legacy desktop application into a web enabled equivalent. However one feature is causing difficulty, editing MS Word documents. Current proposed solution is publishing the DOC and DOCX files via WebDAV and using a custom ActiveX component to launch WinWord and pointing it at a file via a URL. This works but it's limited in scope and the worlds moved on since it was conceived. Is is possible to use the new Office Web Apps to do this completely in-browser?

How to remove WebDAV module from IIS?

左心房为你撑大大i 提交于 2019-12-01 06:46:19
I am struggling for days to enable PUT and DELETE request for my PHP app at MS Azure. Some answers I found suggest to remove the WebDAV module from IIS. How would I do so? I've spent a whole day on this and tried every solution I ran into yet nothing worked for me. What finally worked was turning off the "WebDAV Publishing" feature from Turn Windows features on or off. This is located under: Internet Information Services\World Wide Web Services\Common HTTP Features\WebDAV Publishing. I am hosting a PHP application in Azure App Services and I was able to solve this problem by manually creating

How to remove WebDAV module from IIS?

牧云@^-^@ 提交于 2019-12-01 03:56:40
问题 I am struggling for days to enable PUT and DELETE request for my PHP app at MS Azure. Some answers I found suggest to remove the WebDAV module from IIS. How would I do so? 回答1: I've spent a whole day on this and tried every solution I ran into yet nothing worked for me. What finally worked was turning off the "WebDAV Publishing" feature from Turn Windows features on or off. This is located under: Internet Information Services\World Wide Web Services\Common HTTP Features\WebDAV Publishing. 回答2

Using WebDAV to access Exchange 2003 Inbox

我是研究僧i 提交于 2019-11-30 21:22:24
How do you (using .NET) use WebDAV to get a listing of emails in a user's inbox (not your own inbox) and then get the properties and/or contents of each email? I'd like to do this without WebDAV.NET , if at all possible. take a look at this post of mine about webdav. hopefully it should give you some pointers: http://weblogs.sqlteam.com/mladenp/articles/9560.aspx I'm looking into doing the same thing and the best solution I've come across is Henning Krause's article " Access the Exchange store via WebDAV with Form-Based-Authentication turned on " I'm about to try this, I'll let you know how it