Difference between revisions of "WebDAV"

From BaseX Documentation
Jump to navigation Jump to search
m (Fixed WebDAV URL pattern)
Line 10: Line 10:
 
===Oxygen===
 
===Oxygen===
 
* Choose <code>File -> Open URL...</code>.<br/>
 
* Choose <code>File -> Open URL...</code>.<br/>
[[File:Oxygen01.png]]<br/><br/>
+
[[File:Webdav-oxygen01.png]]<br/><br/>
 
* Enter the corresponding user name and password (if needed), the URL of the BaseX WebDAV Server, and then click "Browse".<br/>
 
* Enter the corresponding user name and password (if needed), the URL of the BaseX WebDAV Server, and then click "Browse".<br/>
 
[[File:Oxygen02.png]]
 
[[File:Oxygen02.png]]
 
===Windows Explorer===
 
===Windows Explorer===
 
===Linux: Konqueror, Dolphin, Nautilus, and Others===
 
===Linux: Konqueror, Dolphin, Nautilus, and Others===

Revision as of 14:36, 12 September 2011

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.

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....

File:Webdav-oxygen01.png

  • Enter the corresponding user name and password (if needed), the URL of the BaseX WebDAV Server, and then click "Browse".

File:Oxygen02.png

Windows Explorer

Linux: Konqueror, Dolphin, Nautilus, and Others