Namespace: ITHit.WebDAV.Server.Class1
Exception | Condition |
---|---|
LockedException | This folder was locked. Client did not provide the lock token. |
NeedPrivilegesException | The user doesn't have enough privileges. |
InsufficientStorageException | Quota limit is reached. |
DavException | In other cases. |
The code below is part of 'WebDAVServer.NtfsStorage' sample provided with the SDK.
virtual public void CreateFolder(string name) { RequireHasToken(); context.FileOperation( this, () => dirInfo.CreateSubdirectory(name), Privilege.Bind); }