webdav_list_files()
function
for better compatibility and robustness:
d
, D
, or other), preventing
XPath errors like Undefined namespace prefix
.xml2::as_list()
to reliably parse the XML response
structure.content_length
is safely parsed and padded with
NA
where missing (e.g., for directories), preventing errors
when creating the resulting tibble
.is_folder
, correctly identifying
whether each resource is a directory.display_name
, full_path
,
creation_date
, etc.).Special thanks to Adrian Jusepeitis (University of
Jena, Germany) for reporting two key issues related to XML namespace
parsing and missing metadata in webdav_list_files()
, and
for proposing initial fixes that inspired the improvements in this
release.
webdav_download_file()
to download files from a WebDAV
server to a local directory.
verbose = TRUE
) provides detailed output
of the download process, including the file path on the server and local
destination.NEWS.md
file to track changes to the
package.