Skip to content
This repository has been archived by the owner on Jun 17, 2022. It is now read-only.
/ webdav-client Public archive

I have found a better WebDAV client “webdav” that runs on a web browser, so “@esperecyan/webdav-client” is no longer maintained. https://github.com/perry-mitchell/webdav-client

License

Notifications You must be signed in to change notification settings

esperecyan/webdav-client

Repository files navigation

@esperecyan/webdav-client

This is the WebDAV client library which is designed like File and Directory Entries API (MDN).

Example

webdav.root.getDirectory('http://localhost:52328/qynnsgspuz6cm2sui/', {}, function (directory) {
	directory.createReader().readEntries(function (entries) {
		for (const entry of entries) {
			console.log(`[${entry.isDirectory ? 'Directory' : 'File'}] ${entry.name}`);
		}
	}, console.error);
}, console.error);

Usage

<script src="webdav.js"></script>

Download

https://github.com/esperecyan/webdav-client/releases

Or

npm install @esperecyan/webdav-client

Or

bower install esperecyan-webdav-client

API list

https://esperecyan.github.io/webdav-client/index.html

Supports

  • Microsoft Edge
  • Firefox
  • Firefox ESR
  • Opera
  • Google Chrome
  • Safari

Contribution

Please Pull Request or open your Issue.

Licence

This library is licensed under the Mozilla Public License Version 2.0 (MPL-2.0).