{"id":17286261,"url":"https://github.com/devrandom/davclient","last_synced_at":"2025-04-14T10:42:52.284Z","repository":{"id":704238,"uuid":"350396","full_name":"devrandom/davclient","owner":"devrandom","description":"Command line WebDAV client and Ruby library.","archived":false,"fork":false,"pushed_at":"2021-12-26T16:53:13.000Z","size":147,"stargazers_count":7,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T00:01:33.118Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://davclient.rubyforge.org/","language":"Ruby","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devrandom.png","metadata":{"files":{"readme":"README.rdoc","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-10-26T19:24:37.000Z","updated_at":"2018-08-08T23:32:35.000Z","dependencies_parsed_at":"2022-07-18T05:21:02.641Z","dependency_job_id":null,"html_url":"https://github.com/devrandom/davclient","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devrandom%2Fdavclient","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devrandom%2Fdavclient/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devrandom%2Fdavclient/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devrandom%2Fdavclient/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devrandom","download_url":"https://codeload.github.com/devrandom/davclient/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248867509,"owners_count":21174748,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-15T09:58:50.361Z","updated_at":"2025-04-14T10:42:52.246Z","avatar_url":"https://github.com/devrandom.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"= DavClient\n\n* http://davclient.rubyforge.org\n* http://rubyforge.org/mailman/listinfo/davclient-general\n\n== DESCRIPTION:\n\nA scriptable WebDAV command line client for Ruby for managing content on\nwebservers that support the WebDAV extensions.\n\nThis is still very much work in progress. Especially the command line interface\nis changed a lot recently. The ruby library however is starting to settle.\n\n\n== Requirements\n\nThe command line utility curl installed and available in your unix path.\n\n== LIRBRARY SYNOPSIS:\n\n  require 'rubygems'\n  require 'davclient'\n\n  # Print url of all files in webdav folder recursively\n  # with basic tree walking\n\n  url = 'http://test.webdav.org/dav/'\n  WebDAV.find(url, :recursive =\u003e true) do |item|\n    puts item.href\n  end\n\n== COMMAND LINE UTILITIES:\n\nDavClient includes the command line utility 'dav'. It is inspired by git and should be familiar to unix users.\nThe command 'dav cd url' sets current working url, 'dav ls' list files and 'dav pwd'\nprints current working url. , users can access files, folders and their properties on webdav servers.\n\nThe only authentication method supported at the moment, is by reading usernames and passwords from\na file named ~/.netrc. If username is missing, the 'dav' command will print out detailed instructions\non how to add username etc. to the '~/.netrc' file.\n\n== COMMAND LINE SYNOPSIS:\n\n  bash $ dav cd http://test.webdav.org/dav/\n  http://test.webdav.org/dav/\n  bash $ dav ls\n  images/\n  index.html\n  bash $ dav pwd\n  http://test.webdav.org/dav/\n  bash $ get ./index.html\n  bash $ dav --help\n  usage: dav COMMAND [ARGS]\n\n  Available dav commands:\n     ls        List files on webdav server\n     pwd       Print current working url\n     cd        Change current working url\n     cp        Copy resource\n     mv        Move resource\n     rm        Remove resource\n     cat       Print content of resource\n     mkdir     Create remote collection (directory) (mkcol alias)\n     get       Download resource\n     put       Upload local file\n     propfind  Print webdav properties for url\n     mkcol     Make collection\n     options   Display webservers WebDAV options\n     edit      Edit contents of remote file with editor\n\n== USE WITH IRB:\n\nIRB can also be used as an interactive dav console:\n\n  bash $ irb -rubygems -rdavclient/simple\n  \u003e\u003e cd \"https://webdav.org/projects/\"\n  =\u003e \"https://webdav.org/projects/\"\n  \u003e\u003e pwd\n  =\u003e \"https://webdav.org/projects/\"\n  \u003e\u003e content = get \"index.html\"\n  =\u003e \"index.html\"\n  \u003e\u003e ls\n  index.html\n  \u003e\u003e cd \"..\"\n  =\u003e \"https://webdav.org/\"\n\n\n== INSTALL:\n\nIf you can type the command 'curl' in your terminal window, everything is ok.\n\nDavClient uses the command line utility cURL to interact with servers.\nCurl comes preinstalled on Mac OS X. It can also be downloaded from\nhttp://curl.haxx.se/ . If you are using debian or ubuntu, it\ncan be installed with apt-get:\n\n  sudo apt-get install curl\n\nThen install DavClient:\n\n  [sudo] gem install davclient\n\nor\n\n  git clone git://github.com/thomasfl/davclient.git\n  cd davclient\n  sudo rake install\n\n\n== Background:\n\nThere has been posted a few examples on the web of how to make a WebDAV client.\nThe problem is that they all seem to support only one type of username and password\nauthentication. DavClient instead uses the command line tool 'curl' to do all the\nauthentication and networking. To avoid handling authentication all togheter, curl\nare told to look up all usernames and passwords are in a file named ~/.netrc.\n\nThe command line utility 'dav' is non-interactive and inspired by git, making it more suitable for\nuse in scripts. If you can script in Ruby, the examples folder includes sample\nscripts using the davclient Ruby library.\n\n== Licence\n\nDavClient (davclient and the dav utility) is copyrighted free software by Thomas Flemming\n\u003cthomas dot flemming at usit.uio.no\u003e and contributors. You can redistribute it\nand/or modify it under either the terms of the GPL2 or the conditions below:\n\nSee LICENCE file for details.\n\n== Comments\n\nFeel free to contact me at thomas dot flemming at usit.uio.no.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevrandom%2Fdavclient","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevrandom%2Fdavclient","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevrandom%2Fdavclient/lists"}