skazantsev / WebDavClient

Asynchronous cross-platform WebDAV client for .NET Core
MIT License
160 stars 32 forks source link

Directory tree with MKCOL #76

Open lmattcris opened 2 years ago

lmattcris commented 2 years ago

Foreword: I understand this is not how MKCOL is defined in WEBDAV, even though it could be nice if...

Could be nice to have a modified MKCOL method, to request all the steps to build a directory tree, such that if I MKCOL a path "alpha/beta/gamma/delta" all the missing ancestors are created down to the deepest component. I'm sure there are good and fair reasons for which this isn't already in the standard protocol MKCOL, and that tracking back errors with an eventual failing creation can be mayhem. Anyway... this is just a proposal 😄