Skip to content

Webdav recursive dirs

Jaden DIEFENBAUGH requested to merge webdav-recursive-dirs into master

See Andre's note - if the project folder doesn't already exist (e.g. a new project) the pipeline fails to push the docs.

Plan: a dav_recursive_mkdir function in functions.sh that walks the path segments of the provided project folder path and makes sure all the parent directories exist. When the web server is brought back up I'm going to look into how curl -X MKCOL (mkdir for webdav) behaves when the directory already exists, then use dav_mkdir() with or without curl -X PROPFIND (PROPFIND is like ls for webdav).

Merge request reports