diff --git a/backend/webdav/webdav.go b/backend/webdav/webdav.go index 09560b5b5..22305059f 100644 --- a/backend/webdav/webdav.go +++ b/backend/webdav/webdav.go @@ -1134,6 +1134,9 @@ func (o *Object) Open(ctx context.Context, options ...fs.OpenOption) (in io.Read Method: "GET", Path: o.filePath(), Options: options, + ExtraHeaders: map[string]string{ + "Depth": "0", + }, } err = o.fs.pacer.Call(func() (bool, error) { resp, err = o.fs.srv.Call(ctx, &opts)