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 has been 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
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
My WebDAV server (ownCloud) supports
Depth: infinity
PROPFIND
requests which is much faster than specifyingdav.find(..., recursive: true)
. However, for those requests items are returned as directories instead of files (i.e. everyitem.type == :directory
).The text was updated successfully, but these errors were encountered: