webdav_client
1.2.2, released 3 years ago by an unverified publisher
A simple WebDAV client for Dart and Flutter supporting common file operations.
What it does
Provides a WebDAV client implementation supporting basic and digest authentication, directory listing, file uploads, downloads, and other standard WebDAV methods using Dio as the HTTP client.
AI-written summary of version 1.2.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to interact with a WebDAV server from your Dart or Flutter application.
- You need to upload, download, copy, or manage files and directories on remote WebDAV storage.
Skip it when
- You require a full cloud storage abstraction layer beyond basic WebDAV protocol features.
- You are dealing with complex WebDAV extensions not covered by common methods.
Strengths
- Supports Basic and Digest authentication out of the box.
- Provides stream-based file uploading and downloading with progress tracking.
- Supports request cancellation via CancelToken.
Weaknesses
- Web platform support requires handling CORS issues manually.
- Limited to common WebDAV methods as documented.
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 3
not documented
var client = newClient(
'http://localhost:6688/',
user: 'flyzero',
password: '123456',
debug: true,
);
var list = await client.readDir('/');Alternatives
Packages that do the same job and could replace webdav_client.
Works with
Packages commonly used together with webdav_client: ones it builds on, ones built on it, and its own family.
- xmlwebdav_client depends on itFull-featured XML and XPath library for DOM parsing, SAX streaming, and fluent building.
- convertwebdav_client depends on itEncoders and decoders for converting between different data representations.
- diowebdav_client depends on itA powerful HTTP networking package for Dart and Flutter with interceptors and request cancellation.