daviX

{{more citations needed|date=January 2015}}

{{Infobox software

| name =

| caption = Davix 0.7.4

| developer = CERN

| latest release version = 0.8.10

| latest release date = {{Start date and age|2025|02|13}}

| genre = WebDAV client

| license = GNU Lesser General Public Licensehttps://raw.githubusercontent.com/cern-it-sdc-id/davix/master/LICENSE {{Bare URL plain text|date=March 2022}}

| website = {{URL|https://davix.web.cern.ch/davix/docs/devel/}}

| operating_system = Linux, Mac OS X, Windows

}}

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.{{Cite book | doi = 10.1007/978-3-319-13021-7_15| chapter = Efficient HTTP Based I/O on Very Large Datasets for High Performance Computing with the Libdavix Library| title = Big Data Benchmarks, Performance Optimization, and Emerging Hardware| volume = 8807| pages = 194| series = Lecture Notes in Computer Science| year = 2014| last1 = Devresse | first1 = A. | last2 = Furano | first2 = F. | isbn = 978-3-319-13020-0| arxiv = 1410.4168| s2cid = 7644795}} "libdavix/Davix"{{Cite journal | doi = 10.1088/1742-6596/513/3/032034| title = Towards an HTTP Ecosystem for HEP Data Access| journal = Journal of Physics: Conference Series| volume = 513| issue = 3| pages = 032034| year = 2014| last1 = Furano | first1 = F. | last2 = Devresse | first2 = A. | last3 = Keeble | first3 = O. | last4 = Hellmich | first4 = M. | last5 = Ayllón | first5 = A. Á. | bibcode = 2014JPhCS.513c2034F| doi-access = free }} "Http Ecosystem for HEP: Davix"

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,ROOT and Davix https://dmc.web.cern.ch/projects/davix/root-and-davix-tutorial {{Webarchive|url=https://web.archive.org/web/20150131121915/https://dmc.web.cern.ch/projects/davix/root-and-davix-tutorial |date=2015-01-31 }}ROOT Davix integration https://root.cern.ch/drupal/content/root-version-v5-34-00-patch-release-notes the File Transfer Services (FTS),{{Cite journal | doi = 10.1088/1742-6596/513/3/032081| title = FTS3: New Data Movement Service for WLCG| journal = Journal of Physics: Conference Series| volume = 513| issue = 3| pages = 032081| year = 2014| last1 = Ayllon | first1 = A. A. | last2 = Salichos | first2 = M. | last3 = Simon | first3 = M. K. | last4 = Keeble | first4 = O. | bibcode = 2014JPhCS.513c2081A| doi-access = free}} "File Transfer Service" the European Middleware Initiative gfal2 library GridPP usage recommendations https://www.gridpp.ac.uk/wiki/DPM_Fuse{{Cite journal | doi = 10.1088/1742-6596/396/5/052057| title = EMI datalib - joining the best of ARC and g Lite data libraries| journal = Journal of Physics: Conference Series| volume = 396| issue = 5| pages = 052057| year = 2012| last1 = Nilsen | first1 = J. K. | last2 = Cameron | first2 = D. | last3 = Devresse | first3 = A. | last4 = Molnar | first4 = Z. | last5 = Nagy | first5 = Z. | last6 = Salichos | first6 = M. | url = https://zenodo.org/record/6599 | bibcode = 2012JPhCS.396e2057N| doi-access = free }} EMI datalib or the dynamic storage federation project.{{Cite journal | doi = 10.1088/1742-6596/396/3/032042| title = Dynamic federations: Storage aggregation using open tools and protocols| journal = Journal of Physics: Conference Series| volume = 396| issue = 3| pages = 032042| year = 2012| last1 = Furano | first1 = F. | last2 = Brito Da Rocha | first2 = R. | last3 = Devresse | first3 = A. | last4 = Keeble | first4 = O. | last5 = Álvarez Ayllón | first5 = A. | last6 = Fuhrmann | first6 = P. | bibcode = 2012JPhCS.396c2042F| url = https://cds.cern.ch/record/1460525| doi-access = free }} DynaFed

Feature support

DaviX supports:

  • SSL/TLS
  • User/Password Authentication
  • X.509 Client certificates authentication
  • redirection caching
  • Multi-Range requests (Vector I/O)
  • checksum calculation
  • session recycling
  • VOMS credential
  • Multi-sources via Metalink.
  • SOCKS4/5
  • S3 and WebDAV Operations

Examples of daviX command line use

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

Platforms

=Linux=

Davix is available on several linux distributions via the Fedora, RedHat EPEL,Fedora EPEL pkgdb https://admin.fedoraproject.org/pkgdb/package/davix/ {{Webarchive|url=https://web.archive.org/web/20150202175955/https://admin.fedoraproject.org/pkgdb/package/davix/ |date=2015-02-02 }} Debian Debian pkg davix https://packages.debian.org/search?keywords=davix and Ubuntu Ubuntu pkg repo davix https://launchpad.net/ubuntu/+source/davix software repositories.

The European Middleware InitiativeEMI release http://www.eu-emi.eu/releases/emi-3-monte-bianco/updates/-/asset_publisher/5Na8/content/update-16-12-05-2014-v-3-7-4-1 {{Webarchive|url=https://web.archive.org/web/20150202174541/http://www.eu-emi.eu/releases/emi-3-monte-bianco/updates/-/asset_publisher/5Na8/content/update-16-12-05-2014-v-3-7-4-1 |date=2015-02-02 }} and the European Grid InfrastructureUMD repositories http://repository.egi.eu/2014/11/10/davix-0-3-6/ {{Webarchive|url=https://web.archive.org/web/20150202174847/http://repository.egi.eu/2014/11/10/davix-0-3-6/ |date=2015-02-02 }} distribute it through their project repositories.

=macOS=

The Homebrew distribution channel distributes sources and binaries for Davix.Davix homebrew http://brewformulas.org/Davix

= Windows=

Cygwin compatible binaries are available for Windows.

See also

{{Portal|Free and open-source software}}

References

{{Reflist}}