Skip to content

Fixes and Additions to WebDAV querying

Compare
Choose a tag to compare
@amosavian amosavian released this 03 Apr 08:24
· 232 commits to master since this release

Bug Fixed: Calling completion handler for upload tasks

Added including (file object properties) argument to WebDAV provider this is the sample code for fetching ETag and size property of file from WebDAV:

provider.attributesOfItem(path: "/path/to/file", including: [.fileSizeKey, .entryTagKey], completionHandler: { attributes, error in
    print(attributes.size)
    print(attributes.entryTag)
}

This is also true for contentsOfDirectory() method