From BaseX Documentation
This page presents one of the Web Application services. It describes how to use the WebDAV file system interface.
BaseX offers access to the databases and documents using the WebDAV protocol. WebDAV provides convenient means to access and edit XML documents by representing BaseX databases and documents in the form of a file system hierarchy.
By default, the BaseX HTTP server makes the WebDAV service accessible at
http://localhost:8984/webdav/. If no default credentials are specified, they will be requested by the client (see further). It can be accessed by either
webdav://<httphost>:<httpport>/webdav/, depending on your WebDAV client.
Please note that the file size of XML documents will be displayed as 0 bytes, as the actual file size can only be determined if the full document is being returned and serialized. This may cause problems with some WebDAV clients (e.g. NetDrive or WebDrive).
The WebDAV service uses the database user credentials in order to perform authentication and authorization. If database user and password are explicitly specified when starting the BaseX HTTP Server using the corresponding startup options, WebDAV will not request additional user authentication from the client.
 Root Directory
In the WebDAV root directory, all existing databases are listed. As new resources can only be stored within database, it is not possible to store files in the root directory. If a file is copied on top level, a new database will be created, which contains this resource.
Note: WebDAV locks are stored in a database called
~webdav. If the database is deleted, it will automatically be recreated along with the next lock operations. If a resource remains locked, it can be unlocking by removing the correspondent
 WebDAV Clients
Please check out the following tutorials to get WebDAV running on different operating systems and with oXygen:
- Version 7.7
- Added: Locking
- Version 7.0
- WebDAV API introduced