{"repo":"studio-b12/gowebdav","free":true,"listed":false,"github":"https://github.com/studio-b12/gowebdav","clone":"git clone https://github.com/studio-b12/gowebdav.git","description":"A golang WebDAV client library and command line tool.","language":"Go","stars":370,"topics":["webdav","golang","cli","library","webdav-client","client"],"license":"BSD-3-Clause","category":"cli-tools","readme_excerpt":"GoWebDAV A pure Golang WebDAV client library that comes with a reference implementation. Features at a glance Our gowebdav library allows to perform following actions on the remote WebDAV server: create path get files list download file upload file get information about specified file/folder move file to another location copy file to another location delete file It also provides an authentication API that makes it easy to encapsulate and control complex authentication challenges. The default implementation negotiates the algorithm based on the user's preferences and the methods offered by the remote server. Out-of-box authentication support for: BasicAuth DigestAuth MS-PASS WIP Kerberos WIP Bearer Token Usage First of all you should create Client instance using NewClient() function: After you can use this Client to perform actions, described below. NOTICE: We will not check for errors in the examples, to focus you on the gowebdav library's code, but you should do it in your code! Create path on a WebDAV server In case you want to create several folders you can use c.MkdirAll() : Get files list Download file to byte array Download file via reader Also you can use c.ReadStream() method: Upload file from byte array Upload file via writer For non-seekable stream, this will read data into memory first to discover content length. Upload file via writer with known length Get information about specified file/folder Move file to another location Copy file to another location Delete fi","default_branch":null,"files":null,"tree":[],"storefront":"/r/studio-b12","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/studio-b12/gowebdav/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}