Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Fetch file and directory properties from a WebDAV server
ResourceFunction["WebDAVProperties"][url] returns a Dataset of properties for the WebDAV resource located at URL. |
| "URL" | the URL of a WebDAV resource |
| "ModificationDate" | the last change date of the resource |
| "FileSize" | number of bytes contained in resource. For directories this is the sum of the contents file sizes. |
| "Tag" | an ID number |
| "ContentType" | the MIME type of the resource; for folders, no "ContentType" is returned |
Find all the resources in a WebDAV folder. Note: The URL used in this example was generated temporarily as a demo by webdavserver.com; to test the function, visit http://www.webdavserver.com in a browser and use the new temporary URL that you are redirected to:
| In[1]:= |
| Out[1]= | ![]() |
Find properties for a single WebDAV resource:
| In[2]:= |
| Out[2]= |
WebDAVProperties accepts the same options as URLRead. For example, you can provide Authentication information to prevent a password dialog from being presented unless the credentials are invalid:
| In[3]:= |
| Out[3]= |

Fetch URLs of all files in a directory of a given type:
| In[4]:= |
| Out[4]= | ![]() |
Download those files:
| In[5]:= |
| Out[5]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License