webdav

Response XML contains “ 2000 ” and “20a0” characters

假装没事ソ 提交于 2019-12-11 11:40:23
问题 I have a WebDAV propfind request sent using PHP. The HTTP request looks like this: PROPFIND /path/to/whatever HTTP/1.1 User-Agent: My Client Accept-Encoding: deflate Depth: 1 Host: example.com Content-Type: text/xml;charset=UTF-8 Authorization: Basic bLahDeBlah= Content-Length: 82 Connection: close <?xml version='1.0' encoding='utf-8'?><propfind xmlns='DAV:'><allprop/></propfind> It works fine when the response XML is less than about 1.5 MB. When the response is bigger, the XML contains

ITHit WebDAV - Office not available message showing when Office is installed

假如想象 提交于 2019-12-11 07:52:43
问题 We have implemented the IT Hit WebDAV sever on our website and are currently testing it before purchasing. One of the tests we have done is test it in different browsers and operating systems. We have found that in Vista and the Latest Chrome it shows the message Microsoft Office not available when office is installed and working and the page works in other browser/OS combinations. We are using the JavaScript from IT Hit which has not been changed. Below is the code (TypeScript Code) I have

Getting 400 Bad request from WebDav Server

限于喜欢 提交于 2019-12-11 07:32:28
问题 I have the following PROFIND method/request to WebDav server : strQuery = "<?xml version=\"1.0\"?><a:propfind xmlns:a=\"DAV:\">"; strQuery += "<a:prop><a:getcontenttype/></a:prop>"; strQuery += "<a:prop><a:getcontentlength/></a:prop>"; strQuery += "</a:propfind>"; // Create a new CredentialCache object and fill it with the network // credentials required to access the server. MyCredentialCache = new System.Net.CredentialCache(); MyCredentialCache.Add(new System.Uri(strRootURI), "Basic", new

How do I make a WebDav call using HttpClient?

心已入冬 提交于 2019-12-11 07:30:18
问题 Specifically I want to call MKCOL through HttpClient to create a folder for Apache Jackrabbit through the Sling REST API. I've tried variants of BasicHttpEntityEnclosingRequest request = new BasicHttpEntityEnclosingRequest("MKCOL", restUrl); But no dice so far. I'm guessing this is less difficult than I'm making it. I also see there is MkColMethod for something like MkColMethod mkColMethod = new MkColMethod(restUrl); But I don't know how to utilize this. I think it may have worked with a

The remote server returned an error: (440) Login Timeout

安稳与你 提交于 2019-12-11 07:15:48
问题 I need to find the mailbox size for the particular account and i have used c# coding with webdav But i am getting error when i used the code . Please find the error message The remote server returned an error: (440) Login Timeout. Please find the reference link which i have used for code. http://msdn.microsoft.com/en-us/library/ms877932%28EXCHG.65%29.aspx Could anyone please help me to solve this issue? 回答1: When a HTTP or WebDAV request is issued agains an Exchange 2003 or 2007 public folder

WebDAV with J2ME

元气小坏坏 提交于 2019-12-11 06:07:24
问题 Is there a way to use WebDAV with J2ME (some libraries or manual coding)? I've tried: - javax.microedition.io.HttpConnection, but "SEARCH" method not supported there - javax.microedition.io.SocketConnection with Http request - nothing returns in response Maybe something wrong with my code or HTTP header: String response = ""; String query = "<?xml version='1.0'?> " + "<g:searchrequest xmlns:g='DAV:'> " + "<g:sql> " + "SELECT 'DAV:displayname' " + "FROM 'http://exchangeserver.com/Public/' " +

Acessing calendar of user email address using Java

谁说我不能喝 提交于 2019-12-11 04:43:36
问题 I have a requirement. I need to access a user's email that is on company specific domain. I need to get the calendar of that user and publish it to web application. I am exhausted finding any API that can help me to do that. The email client used by company is Thunder Bird, So , in specific, I need to access calender's from Thunder Bird for that particular user. Can any one tell me some suggestions for this. 回答1: Kumar Your question is very unprecise (what kind of is the server providing the

Httphandler for WebDav requests

好久不见. 提交于 2019-12-11 04:24:16
问题 I am trying to write a asp.net httphandler for handling webdav requests with IIS. I am extending the IHttpHandler interface and implementing the ProcessRequest. public class clsMyHandler : IHttpHandler { public void ProcessRequest(System.Web.HttpContext context) { StreamWriter sw = new StreamWriter(@"C:\requestLog.txt",true); sw.WriteLine("Got a request at " + DateTime.Now.ToString()); sw.Close(); } public bool IsReusable { get { return true; } } } It's a simple handler for my test purpose to

What is the best way to access remote filestore in ITHit webdav

雨燕双飞 提交于 2019-12-11 04:15:29
问题 I am in the middle of implementing a WebDAV server using the ITHit WebDAV engine for .net. The server is a httplistener running as a windows service so using Mapped drive on the service machine is causing problems as it seems services cannot see mapped drive. I have had some success with using UNC path but the GetExtendedFileAttrjbutes don't seem to work with UNC path ( I am not really using them either but wondering what else might not work). So the question is, what is the best way of

Rails 3.1 app with integrated webdav and authentication?

廉价感情. 提交于 2019-12-10 19:36:29
问题 I would like to enable WebDav for Rails 3.1 application, where I use Devise for authentication and CanCan for authorization. So far I turned on WebDav and works fine. Is it possible to use Devise logins/users with dav4rack to enable/restrict access to certain files/directories on WebDav? Maybe there is already a howto or wiki page about that? Any help will be appreciated. PS. is this the right way of solving this kind of problem? maybe i should switch back to apache mod_dav and synchronise