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.
Net::DAV is a Ruby WebDAV client library in the style of Net::HTTP.
The Net::DAV gem makes it easier to read and update properties on files and folders on WebDAV enabled web servers. It features an API for traversing a directory structure on the server without having to mount the remote server as a local file system, and methods for authentication, copy, move, delete and write.
Net::DAV uses Net::Http and Nokogiri for XML. Curb can be used for HTTP if available.
Traversing files on remote WebDAV server
It can be used for scripts to do ad-hoc operations on large static websites with webdav server extensions. This script updates links in files in the folder “https://webdav.server.com/news/” with .html or .xml file extensions from ‘www.wrong.com’ to ‘www.right.com’. Username and passord are read from the environment variables DAVUSER and DAVPASS.
The :suppress_errors option, makes the find print out a warning instead of raising an exception if it should stumble upon an error like a directory that returns a “403 Forbidden” error. The :filename option can be either a regexp or a string.