This article needs more citations. (January 2015) |
| Davix | |
|---|---|
| Developer | CERN |
| Stable release | 0.8.10
/ February 13, 2025 |
| Written in | C++ |
| Operating system | Linux, macOS, Windows |
| Type | WebDAV client |
| License | GNU Lesser General Public License |
| Website | davix |
| Repository | github |
Davix is an open-source client for WebDAV and Amazon S3 available for Microsoft Windows, Apple MacOSX and Linux. Davix is written in C++ and provide several command-line tools and a C++ shared library.
Davix is a tool for remote I/O, file transfer and file management based on the HTTP protocol.
Davix is used at CERN by several projects, including the ROOT data analysis framework, the File Transfer Services (FTS), the European Middleware Initiative gfal2 library or the dynamic storage federation project.
Davix supports:
to upload a file to a WebDAV repository
$ davix-put local_file davs://example.com/folder1/remote_file
to download a file from a S3 bucket with AWS authentication
$ davix-get --s3secretkey A --s3accesskey B s3://bucket1.s3-instance.com/long/path/remote_file local_file
To list a WebDAV repository over https
$ davix-ls davs://example.com/folder1/folder2/
To list an S3 bucket with AWS authentication
$ davix-ls --s3secretkey A --s3accesskey B s3://bucket1.s3-instance.com/
To create a subdirectory over WebDAV
$ davix-mkdir davs://example.com/folder1/folder2/folder4
Execute an HTTP PUT request to a RESTful webservice with the content "hello"
$ davix-http -X PUT—data "hello" http://example.com/rest/api/service
Davix is available on several linux distributions via the Fedora, RedHat EPEL, Debian and Ubuntu software repositories.
The European Middleware Initiative and the European Grid Infrastructure distribute it through their project repositories.
The Homebrew distribution channel distributes sources and binaries for Davix.
Cygwin compatible binaries are available for Windows.