"Fossies" - the Fresh Open Source Software Archive
Member "ILIAS-5.4.8/Services/WebDAV/README.md" (22 Nov 2019, 5471 Bytes) of package /linux/www/ILIAS-5.4.8.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format (assuming markdown format).
Alternatively you can here view
the uninterpreted source code file.
A member file download can also be achieved by clicking within a package contents listing on the according byte size field.
WebDAV or Web Distributed Authoring and Versioning is an extension to HTTP. This service implements a WebDAV interface to the ILIAS-Repository. Since ILIAS version 5.4, the sabreDAV library from sabre-io is used to handle the HTTP-Requests. This services implements functionality behind this requests.
Table of Contents
TL;DR The WebDAV Service is used to add the ILIAS-Repository to your explorer like an external drive. Instead of opening a Webbrowser to browse through the ILIAS-Repositry, you can do it with any WebDAV client. For example:
- Explorer on Windows
- Finder on Mac
But everything has its price. Since WebDAV ist just an abstraction to the ILIAS-Repositry, there are some limitations. That means, WebDAV does not replace the use of the ILIAS-Website. It is just meant for simple interaction with the repository like:
- Browse through the files and folder strcutures
- Download files and folder structures
- Upload files and folder structures
- Rename files and folder structures
- Cope files and folder structures
- Move files and folder structures
- Lock files and edit them
For more about the limitations, see chapter xyz
A short overview to WebDAV
WebDAV (short for Web-based Distributed Authoring and Versioning) is an extension of HTTP that allows clients to perform remote web content authoring operations. It is defined in RFC 4918. Following additional requests are defined by WebDAV (normal context = defined by wikipedias):
- Normal context: Copy resource from one URI to another
- ILIAS context: Copy object / contaienr from one container (ref_id) to another
- Normal context: Put a lock on a resource. WebDAV supports both shared and exclusive locks
- ILIAS context: Put a lock on an ILIAS object
- Normal context: Create collections (a.k.a. a directory)
- ILIAS context: Create a container (category inside a category, folder inside other containers)
- Normal context: Move a resource from one URI to another
- ILIAS context: Move object / container from one container (ref_id) to another
- Normal context: Get properties, stored as XML, from a web resource. It is also overloaded to allow one to retrieve the collection structure (also known as directory hierarchy) of a remote system
- ILIAS context: Get information about objects and the structure in a container
- Normal context: Change and delete multiple properties on a resource
- ILIAS context: Not used
- Normal context: Remove a lock from a resource
- ILIAS context: Remove a lock from an object
How to read this documentation?
There are different ways to read this documentation. Depending on which information you are looking for, there are different chapters that could be interessting to you.
Are you interested in…
- knowing how ILIAS interacts with sabreDAV? Then SabreDAV and its interfaces is the right chapter for you
- the file structure of the WebDAV-Service? Then classes/ is the right chapter for you
- the different HTTP-Methods and how they are implemented for the WebDAV-Service in ILIAS? Then HTTP-Methods is the right chapter for you
SabreDAV and its interfaces
SabreDAV locks vs. ILIAS locks
The dav-folder contains all the classes that are needed for the virtual filesystem.
The auth-folder contains all classes that are needed to authenticate the user in a webdav request.
put (create file)
move and move
lock / unlock
The keywords in this documentation are defined like in RFC 4918.
This means the ILIAS implementation of the WebDAV interface
All requests on webdav.php in the ILIAS-Root are handled as WebDAV requests
Library used to handle WebDAV requests