You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 28, 2023. It is now read-only.
My WebDAV server (ownCloud) supports Depth: infinityPROPFIND requests which is much faster than specifying dav.find(..., recursive: true). However, for those requests items are returned as directories instead of files (i.e. every item.type == :directory).
result=[]Net::DAV.start(URL)do |dav|
dav.credentials('user','secret')dav.headers('Depth'=>'infinity')dav.find(root)do |item|
nextunlessitem.type == :fileresult << itemendendresult# => result is always empty