Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...

When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

Implementing a WebDAV filesystem with PHP and SabreDAV

Mapping the Web Drive to Your Computer

Let's now look at how we can map a WebDAV drive to our local computer. The instructions are slightly different both Windows and OS X, but both methods are listed below.

Tip: There are many FTP clients out now that also support WebDAV. You can also use one of these to connect to your WebDAV server.

At this stage, our WebDAV server isn't fully functioning. While you will be able to browse files that are located on the server, you may not be able to edit, move or delete files at this point. This is due to us not yet adding file locking to the server - we'll do this later in the article.

Note: We haven't yet implemented authentication on our server, so you can skip the steps for specifying username and password. If prompted, try to connect as a guest instead. Once we have added authentication, you can refer back to this section

Adding a WebDAV Drive to Microsoft Windows

  1. Open Windows Explorer
  2. Select ToolsMap Network Drive from the menu
  3. Select a drive letter
  4. Enter the URL as the folder (such as Remember: you may not be available to map the root folder a drive in Windows.
  5. Click Finish
  6. Enter your username and password when prompted.

Adding a WebDAV Drive to Mac OS X

  1. Open Finder
  2. Select GoConnect to Server from the menu (or press Command-K)
  3. Enter the URL as the server address (such as (such as
  4. Click Connect
  5. Enter your username and password when prompted.

In This Article