Once you have Kentico CMS installed and configured as described in the Configuration for WebDAV topic, you only need to map a network drive in your operation system that will be pointing to the web server. There are two ways how this can be done:
1. Open Windows command line (press [window]+R, type cmd and click OK).
2. Enter the following command:
net use x: http://<your_domain>/cms/files
The x: part of the command determines which letter will be used for identification of the network drive in your system. Instead of x, you can use any letter that is not used for another drive yet.
The <your_domain> part of the command needs to be replaced with the domain name of your website. So, for example, if your website is running on http://www.example.com, you would need to enter net use x: http://www.example.com/cms/files. Similarly for http://localhost/KenticoCMS, you would need to enter net use x: http://localhost/KenticoCMS/cms/files.
The following procedure is demonstrated on Windows 7. In other versions of Windows, it may be slightly different, while its principles and the entered values remain the same.
1. Open Windows Explorer and select Computer in the left menu. Right‑click it and select Map network drive. Alternatively, the Map network drive action can be executed from the top menu, as highlighted in the screenshot below.
2. In the Map Network Drive dialog, adjust the following values:
•Drive - select the letter that will be assigned to the network drive in Windows.
•Folder - enter a URL in format http://<your_domain>/cms/files where the <your_domain> part should be replaced with the domain name of your website.
•Reconnect at logon - leave this option enabled if you want the drive to be connected next time your start Windows.
•Connect using different credentials - use this option in case that you want to use a different user account than your current Windows account. In such case, you will be asked to enter logon credentials after clicking Finish.
Click Finish and wait until the network drive gets connected.
Mapping a network place on Windows XP/Server 2003/Vista
When you experience problems while mapping a network drive on Windows XP, Windows Server 2003 or Windows Vista, you can map a network place instead:
1. Open the Start menu, right-click My Computer (or Computer on Vista) and choose Map Network Drive from the context menu.
2. In the dialog which pops up, click the link saying Sign up for online storage or connect to a network server (on Vista, the link says Connect to a Web site that you can use to store your documents and pictures). This will open the Add Network Place Wizard.
3. In the first step, click Next. In the second step, choose Choose another network location and click Next. In the third step, enter the URL in the http://<your_domain>/cms/files format and click Next.
4. In the fourth step, enter a name that will be used for the network location (e.g. MyNetworkPlace) and click Next. In the final step, click Finish.
Once finished, the network place should be mapped and content of the WebDAV network drive should be accessible through it. Please note that in this case, the content will not be accessible under a drive letter (e.g. X:\), but under the name of the network place specified in step 4 of the wizard (e.g. \\MyNetworkPlace\).
Once you have the network drive connected, it is recommended to check that you can access it. Open Windows Explorer or any other file manager that you are using. The drive should be available among other drives in your system, under the letter that you assigned to it when you mapped it.
If you open the drive, you should see that it contains four folders. Each of them contains different types of files stored by your website:
•groups - contains a folder for each group defined on the site, while each group folder contains the three folders mentioned above, containing only those attachments, content and media that belong to the particular group.
Click a folder name above to learn more about content of the respective folder.
Unusually long response time
If you are experience unusually long delays when opening a WebDAV drive, copying files to or from it or switching between different WebDAV drives, please make sure you have the Automatically detect settings option disabled in Internet Explorer -> Tools -> Internet Options -> Connections -> LAN Settings.
See the following article for more details: http://support.microsoft.com/kb/2445570
In a typical scenario, each website running in Kentico CMS uses a different domain. Therefore, the URL of the mapped network drive would be different for each site, letting you map a drive separately for each website.
However, if you have multiple websites using the same domain (typically localhost in a development environment), only one of these websites can be running at a time while all others are stopped. In this case, the network drive always displays content of the site that is currently running.