WebDavClient class

WebDavClient class

Constructors

WebDavClient(String baseUrl, String username, String password)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

copy(String sourcePath, String destinationPath) Future
Copy a file from sourcePath to destinationPath
delete(String path) Future
remove dir with given path
download(String remotePath) Future<Uint8List>
download remotePath and store the response file contents to String
downloadDirectoryAsZip(String remotePath) Future<Uint8List>
download remotePath and returns the received bytes
downloadStream(String remotePath) Future<ByteStream>
download remotePath and store the response file contents to ByteStream
downloadStreamDirectoryAsZip(String remotePath) Future<ByteStream>
download remotePath and returns a stream with the received bytes
ls(String remotePath) Future<List<WebDavFile>>
list the directories and files under given remotePath
mkdir(String path, [bool safe = true]) Future<Response>
make a dir with path under current dir
mkdirs(String path) Future
just like mkdir -p
move(String sourcePath, String destinationPath) Future
Move a file from sourcePath to destinationPath
upload(Uint8List localData, String remotePath) Future
upload a new file with localData as content to remotePath
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited