webdav_client_plus
3.0.0, released 5 weeks ago by lpkt.cn
A simple WebDAV client for Dart and Flutter supporting file operations and extensions.
What it does
Provides a client to interact with WebDAV servers for listing, reading, writing, streaming, copying, moving, and deleting files and directories. It supports various authentication methods including Basic, Bearer, and Digest, along with locks, property management, and WebDAV extensions.
AI-written summary of version 3.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to connect a Flutter or Dart app to a WebDAV file server or remote storage.
- You require support for WebDAV-specific features like property management, locking, and DeltaV.
Skip it when
- You are communicating with a standard REST or GraphQL backend instead of a WebDAV server.
Strengths
- Supports multiple authentication types (Basic, Bearer, Digest).
- Provides helper methods for common WebDAV extensions, locks, and property management.
- Allows streaming uploads and downloads without buffering.
Weaknesses
- Dependent on server-side WebDAV implementation quirks and compliance.
- Streamed uploads cannot be replayed with Digest auth without an initial request.
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 4
Not documented
final client = WebdavClient.basicAuth(
url: 'https://example.com/remote.php/dav/files/alice',
user: 'alice',
pwd: 'password',
);
for (final file in await client.readDir('/')) {
print('${file.name} ${file.isDir ? '(dir)' : '${file.size} bytes'}');
}Alternatives
Packages that do the same job and could replace webdav_client_plus.
Works with
Packages commonly used together with webdav_client_plus: ones it builds on, ones built on it, and its own family.
- cryptowebdav_client_plus depends on itProvides SHA, MD5, and HMAC hashing functions for Dart.
- xmlwebdav_client_plus depends on itFull-featured XML and XPath library for DOM parsing, SAX streaming, and fluent building.
- convertwebdav_client_plus depends on itEncoders and decoders for converting between different data representations.
- diowebdav_client_plus depends on itA powerful HTTP networking package for Dart and Flutter with interceptors and request cancellation.