Friday 27 August 2010

How to connect to a SharePoint Document Library using WebDAV

I have been working with a client to deliver this functionality. The client has a requirement to push data out to a SharePoint Document Library from an external source in order for users to consume these reports. After doing some research I did not find anything helpful on the topic but it seems there is a way to do this.

SharePoint has its own WebDAV Functionality built it. It does not need the IIS WebDAV functionality to be activated in order for it to function.

To use a Document Library via WebDAV for bulk uploads or downloads,You need to map the Document Library URL as a network drive/location

How to map a Network Drive (Source: Vista4Beginners.com)

First, click on the Computer shortcut from your desktop or from the Start Menu. In the toolbar you will find several buttons, including one called Map network drive.

Map a Network Drive

Click on it and the Map Network Drive window will open. Firstly, you need to assign a drive letter for the connection and then type the drive or the folder you want to connect to.
The folder can be located on a remote server or computer you have access to, a FTP site or a shared folder on your own computer.

Map a Network Drive

If you want to connect to a remote computer just type "\\" followed by the computer name or the IP address and then "\" followed by the location of the folder you want to connect to.
If you want to create a drive mapping to a folder on your own computer type "\\127.0.0.1\" (this stands for the local host) or "\\computer_name\" and then the path towards that folder.


Sometimes, when you create a drive mapping, you might need to use a special user name and password that allows you to connect to it. In this case, click on the Connect using a different user name link.

Map a Network Drive

Type the appropriate user name and password and click on OK. Now you will return to the previous window. Click on Finish and the drive mapping will be created.

If you access the Computer shortcut again you will see that a new drive having the letter you assigned is listed and you can access it at anytime.


I hope this helps.