Discuss this help topic in SecureBlackbox Forum

WebDAV: Lock the resource

TElWebDAVClient.Lock() method can be used to lock a single file or collection. The method returns TElWebDAVLock object which represents the created lock. This object can be passed to other TElWebDAVClient methods to perform operations with locked resources. Lock() method accepts a few parameters that specify lock characteristics:

  • Owner - the owner of the lock. This parameter is usually set to some unique URI that identifies a principal and is displayed for all principals that request lock description.
  • Scope - allows to create an exclusive or shared lock.
  • Depth - allows to set lock depth, e.g. lock of a single resource or resource tree.
  • Timeout - lock time to leave in milliseconds. Should be set to zero to create infinite locks.

How To articles about WebDAV client

Discuss this help topic in SecureBlackbox Forum