Return to doc.sitecore.com

Valid for Sitecore 5.2, 5.3
Is it possible to use WebDAV with the Sitecore Media Library?

Whenever you want to add an image or file to the Sitecore Media Library, you would need to either upload each element individually or zip the files and then upload the zipped file (Sitecore will then unzip and load items into the media library).

This is normally sufficient for most solutions. However, some clients want their editors to use drag and drop as they can do with the normal file directory (such as the Windows explorer). They want to do this through the browser interface and without setting up an ftp server.

To solve this, you may use WebDav.

WebDav is a protocol to publishing and manageing file content to a web server. WebDav uses port 80, the same port used by web servers. This means you do not need additional ports open on your filewall. WebDav even allows you to modify the file directly from the server instead of download/upload with normal file sharing properties, - exactly like the Windows Explorer.

Setting up WebDAV is really easy:

When installed, simply configure your WebDAV to access your upload folder. To install WebDAV and configure it on your server follow the steps in this article: http://www.wown.com/articles_tutorials/WebDAV-IIS.html

Once WebDAV is up and running, all you need to do is simply to build an new application (a blank window) that points to the WebDAV folder. User may then drag and drop and modify files directly from their windows enviroment to the browser interface.

How do the dropped files make their way to the Media Library?

Sitecore V5 has built in media library extension. Whenever you drop a file in the upload folder, it is imported into the Media Library. If it's an image, Sitecore even creates thumbs in desired sizes.

If you are using Sitecore V4, you must purchase the Enhanced Media Module in order to get full benefit of the WebDAV.