webdav

Getting type of folder in webdav .net

I need to look into all Contact type folders in an outlook mailbox (could be folders other than 'Contacts').I could not find an ItemProperty which would help me retrieve all Contact folders. So,to do this, I am retrieving all folders in a mailbox first and then want to compare the FolderType of each retrieved folder to FolderType.Contact...

Unable to publish from VS 2008 to Windows 2008 using WebDAV

I'm trying to publish a web site from VS 2008 directly to a mapped folder on a Windows 2008 server. Some of the files publish OK (e.g. aspx files) but others don't (e.g. ascx, asmx, cs, config, sitemap, etc files). Also, some folders are created OK and others not (e.g. the bin folder can't be created). The message I get is (in this ca...

Implementing Authentication for a WebDAV Servlet

I am currently using this WebDAV Java Servlet Implementation, it's as far as I know the smallest and the easiest to use WebDAV java solution that doesn't depend on Tomcat ( Using WebLogic ). So I would like to extend this to use my underlying security layer which somewhat uses a database connection to authenticate users. My question is...

Creating outlook appointment with html body using webdav

I'm creating outlook appointments using webdav. I'm using following post body to create the appointment. <?xml version="1.0"?> <g:propertyupdate xmlns:g="DAV:" xmlns:e="http://schemas.microsoft.com/exchange/" xmlns:mapi="http://schemas.microsoft.com/mapi/" xmlns:mapit="http://schemas.microsoft.com/mapi/proptag/" xmlns:x...

Python client library for WebDAV

I'd like to implement a piece of functionality in my application that uploads and manipulates files on a WebDAV server. I'm looking for a mature Python library that would give an interface similar to the os.* modules for working with the remote files. Googling has turned up a smattering of options for WebDAV in Python, but I'd like to kn...

WebDAV/ftp/etc custom solution

Hi! We have a project (Web/PHP) where we would like users to access their files, used in our application, using some kind of standardized protocol e.g. FTP or WebDAV. This would make it easier for our users to access their files, which mainly consists of templates and images. The thing is, the directory that the users would be browsing...

WebDAV and Exchange Server - get contacts modified within the last X days?

I have a PHP application which connects to Microsoft Exchange server to retrieve 'Contacts' via WebDAV. Is there a WebDAV query I can issue to Microsoft Exchange to get only contacts that have been changed or added within the last X days? It'd be a bit easier to deal with than querying for all 30 bajillion contacts every time and doi...

Allowing http verbs for one user in Views folder (MVC, Expression Web 3, webdav)

I'm using Expression Web 3 to sync my local MVC project with my remote server, but the Publishing option in Expression can't query the Views folder because of the blockviewhandler. Is there a way to allow a single user (like Administrator) to not be blocked and still block everyone else? ...

How to upload a file to a folder using webdav?

I have this webdav code thats creating folders in SharePoint: HttpWebRequest request = (System.Net.HttpWebRequest)HttpWebRequest.Create(folderAddress); request.Credentials = wsLists.Credentials; // CredentialCache.DefaultCredentials; request.Method = "MKCOL"; response = (System.Net.HttpWeb...

Copying with webclient to sharepoint document library question

When I copy to a sharepoint document library using webclient, should the URL contain the destination filename or not? For example: client.UploadFile("http://site/projects/project/documentLibrary/subfolder/" , "PUT", attachmentFileName ); or client.UploadFile("http://site/projects/project/documentLibrary/subfolder/" + attachmentFileN...

Trouble setting up WebDAV

Rather than using FTP to access my hosting provider, which I read is unsecure, I'm trying to set up WebDAV (which I've never done before). I don't see WebDAV in the Actions pane of IIS Manager. So I found a link at http://www.iis.net/extensions/WebDAV to install it. I'm running Windows 7, so when the Web Platform Installer gave a mess...

Pdf gets mangled when accessing subversion repository via apache webdav

I am running a subversion server with access via http using webdav. I have noticed that when I access the repository with a browser, sometimes the pdf files in the repository show up as plain text (as if you viewed the pdf with a text editor like emacs, vim, or notepad) instead of being downloaded, or opened with some pdf reader. If you ...

Correct response for PROPFIND on a resource that does not exist

How should a WebDAV server response when it receives a PROPFIND request for a resource that does not exist? The RFC seems to say you should always return a 207 and then use 404 for properties that don't exist. But what if the resource itself doesn't exist? ...

How to handle drag and drop from a WebDAV folder (SharePoint in Explorer)

Hello, I've opened a Windows Explorer window to show the content of a SharePoint folder (using WebDAV). I pick a file and drag it into a Windows Form (C#). However the DragEventArgs doesn't contain full information about the file. How can I get the file URL (and not only its name), or its content? Thanks! ...

Writing your own FrontPage RPC server (like SharePoint)

Does anybody have experience in programming a protocol handler (server) that talks FrontPage RPC? I want to make a server that behaves itself as if it was SharePoint. What I want is to open a Word document from this Web Server, edit it in MS Word and write the changes to the Web server. So in the same way you can edit Word documents fr...

Powershell scripts to backup SQL, SVN

I'm trying to use PowerShell to create some backups, and then to copy these to a web folder (or, in other words, upload them to a WebDAV share). At first I thought I'd do the WebDAV stuff from within PowerShell, but it seems this still requires a fair amount of "manual labour", ie: constructing HTTP requests. I then settled for creating...

How do you get the current user logged in to an apache realm?

I'm writing a simple in-house frontend to Subversion. We've got an Apache setup serving up the SVN repositories thanks to WebDAV. Also, authentication is done through an Apache realm and Open Directory. For what it's worth, this is basically a pretty vanilla Mac OS X Server 10.6 setup. Now, some of the tasks our front end is responsible...

Sphorium WebDAV Server Framework

Hi all, Does anyone knows how to working with Sphorium WebDAV Server Framework? http://sourceforge.net/projects/webdav/ ...

WebDAV Date Range query

Hi, Im trying to access and extract message from Exchange Server 2003. I need to get them by dates but im having problem with it. Here's the code lsQuery = "<?xml version=\"1.0\"?>" + "<D:searchrequest xmlns:D = \"DAV:\" xmlns:m=\"urn:schemas:httpmail:\">" + "<D:sql>SELECT \"ur...

Ideas for implementing a VFS

Hi all, I have multimedia files and its metadata stored in a RDBMS (actually, the actual media files are stored in the FS, but let's not dwell on that). I would like to present a filesystem view of this information, so that users can work using Windows Explorer and similar stuff on the database. I intend this access to be read-only, wh...