WebDAV
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.
Contents
Starting BaseX WebDAV
The WebDAV implementation of BaseX is provided by a module (servlet) which runs in the BaseX HTTP server. Please, check the Startup: BaseX HTTP Server page for details on how to start the BaseX HTTP Server. The BaseX WebDAV Server can use either the local databases or connect to a remote BaseX Server. Please, check the startup options of the BaseX HTTP Server.
Accessing BaseX WebDAV
The BaseX WebDAV Server can be accessed using either with a http://<httphost>:<httpport>/webdav/
or webdav://<httphost>:<httpport>/webdav/
URL, depending on the used WebDAV client. For example, http://localhost:8984/webdav/
.
Authorisation
The BaseX WebDAV Server uses the database user credentials in order to perform authentication and authorisation. However, if database user and password are explicitly specified when starting the BaseX HTTP Server using the corresponding startup options, then the WebDAV Server will not request user authentication from the client.
WebDAV Clients
Oxygen
- Choose
File -> Open URL...
.
- Enter the corresponding user name and password (if needed), the URL of the BaseX WebDAV Server, and then click "Browse".