lookfirst / sardine

an easy to use webdav client for java
Other
579 stars 185 forks source link

isLocked function in Sardine interface #223

Closed sardineuser closed 1 year ago

sardineuser commented 9 years ago

Hello, i wish Sardine could expose an isLocked function in the interface. Parameter should be a davResource, return could be a lockInfo for example. For now, there is maybe a way (i didn't find it) to query the lockdiscovery element of a davResource ?

Regards,

sardineuser commented 9 years ago

i use a lock analysys answer code to verify wether a resource is locked or not, and then unlock the data. But it is not possible to have the information about the owner, timeout and more.

sardineuser commented 9 years ago

Maybe add lockInfo in the customPropos ?

pfiol commented 4 years ago

+1 here...

When multiple users access the same directory/files there's no easy way to notify others whether a file has been locked by someone else.