logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

davix-get - Download tool based on libdavix

Authors

       Adrien Devresse <adrien.devresse@cern.ch>, IT-SDC-ID, CERN

davix                                          $Date: 2014/05/24 $                                  DAVIX-GET(1)

Description

davix-get is a tool to download resources from HTTP, Webdav or REST compatible services.
       The command supports the protocol Http (http(s)://), WebDav (dav(s)://) and S3 (s3(s)://).

       Target resources can either be a single file or a collection.
       In the case of collection, all sub-collections will also be downloaded.

       davix-get is powered by libdavix. See libdavix(3) for details.

Examples

Downloadcontentandprintitonstdoutdavix-gethttp://example.org/dir1/dir2/file1Downloadcontenttoalocalfiledavix-gets3://bucket.example.org/collection/file2/tmp/file2DownloadcontenttoalocalfilewithVOMSauthenticationinaGridenvironmentdavix-get-Pgriddavs://grid-storage.example.org/dir1/file1/tmp/file1Downloadcontentandprintittostdout,usingaOAuthtokendavix-gethttps://example.org/dir1/tmpfile-H"Authorization:Bearermytoken"Downloadcollectiontoalocaldirectorydavix-getdav://example.org/dir./mydir

Name

       davix-get - Download tool based on libdavix

Options

CommonOptions:--debug
            Debug mode

         --header,-H
            Add a header field to the request (eg: -H "Depth: 1" )

         --help,-h
            Display this help message

         --metalinkOPT
            Metalink support. (OPT=failover[default]|no)

         --module,-PPLUGIN_NAME
            Load a plugin or profile by name

         --redirectionOPT
            Transparent redirection support. (OPT=yes[default]|no)

         --proxy,-xURL
            SOCKS5 proxy server URL. (ex: socks5://login:pass@socks.example.org)

         --trace
            Traces specific scope(s), options include:
               file - Davix file interface
               posix - Davix POSIX interface
               xml - XML parser output
               ssl - SSL and certs details
               header - HTTP queries headers
               body - HTTP bodies
               chain - IO chains info
               core - Config and Davix command line tools info
               grid - Misc info from 3rd parties
               socket - Socket info
               locks - WebDAV locking info
               all - Traces everything

         --version
            Display version

       SecurityOptions:--capathCA_PATH
            Add an additional certificate authority directory

         --cert,-ECRED_PATH
            Client Certificate in PEM format

         --keypriv_path
            Private key in PEM format

         --insecure,-k
            Disable SSL credential checks

         --userlogin
            User login for login/password authentication

         --userpass
            User password for login/password authentication

         --s3secretkey
            AWS S3 authentication: secret key

         --s3accesskey
            AWS S3 authentication: access key

         --s3region
            AWS S3 authentication: region

         --s3token
            AWS S3 security token - used along with STS temporary credentials

         --s3alternate
            Specify this flag if you need to use a path-based S3 URL

         --azurekey
            Azure authentication key

See Also

libdavix(3),davix-get(1),davix-put(1),

Synopsis

                davix-get [options]... url          davix-get [options]... url local_file

See Also