Re: WebDAV Matrix

On Monday, March 18, 2002, at 10:36 AM, CJ Holmes wrote:

> From the Finder, use the "Go" menu and select "Connect to Server..." 
> (or just hit apple-K).  Enter the URL that you want to connect to. eg: 
> http://www.my.org/naturalSciences/

And if the URL doesn't go to a WevDAV-enabled server directory (i.e., 
it's an URL to some random web page), the mount will fail with an error 
19 (no device... the best error code we could map it to).

> You will be prompted for your username and password.

You'll be prompted only if the WevDAV-enabled server directory requires 
authentication. For example, <http://idisk.mac.com/jumplong/Public> 
requires no authentication.

> The finder-based DAV is very cool because it lets you use your DAV 
> server like a  disk.  But it doesn't support locking, last time I 
> checked.  But Goliath does, and works on MacOS X.

The Mac OS X WebDAV file system does use the LOCK method.

DAV class 1 WebDAV servers are mounted as read-only volumes because the 
LOCK method isn't required for class 1 resources.

DAV class 2 WebDAV servers are mounted as read-write volumes. On these 
servers, when a file (resource) is opened with write access, the WebDAV 
file system uses the LOCK method to acquire a lock on the file being 
opened with a timeout of 10 minutes. If the lock cannot be acquired, 
then the file cannot be opened with write access. The lock is refreshed 
every 5 minutes until the file is closed. When the file is closed, the 
UNLOCK method is used to unlock the file. The WebDAV file system does 
not acquire a lock on files opened with read-only access.

Jim Luther
Apple Computer, Inc.

Received on Monday, 18 March 2002 14:19:38 UTC