DAVIX-PUT(1)

πŸ’– DAVIX-PUT(1) β€” the upload tool πŸ’–

okay bestie, welcome to davix-put, a download tool manual page... but for uploading πŸ™ˆβœ¨ she's part of the davix family, and she's here to yeet your files into the cloud.


✨ NAME ✨

davix-put β€” Upload tool based on libdavix 🫢


🌈 SYNOPSIS 🌈

davix-put [options]... local_file url

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so davix-put is a tool to upload resources to http, Webdav or REST compatible services. literally her whole job πŸ’…

The command supports the protocol Http (http(s)://), WebDav (dav(s)://) and S3 (s3(s)://). pick your fighter.

Local resources can either be a single file or a collection. In the case of collection, all sub-collections will also be uploaded. so yes, she does folders too, no cap πŸŽ€

davix-put is powered by libdavix. See libdavix(3) for details. it's giving main character energy but make it a library ✨


πŸ‘‘ OPTIONS πŸ‘‘

🌸 Common Options

  • --debug β€” Debug mode. she's gonna tell you everything that's happening, fr fr.
  • --header, -H β€” Add a header field to the request (eg: -H "Depth: 1" ). custom headers, your vibe, your rules.
  • --help, -h β€” Display this help message. bestie needs directions sometimes 🧚
  • --metalink OPT β€” Metalink support. (OPT=failover[default]|no). default is failover, so if you don't say anything she's already on it.
  • --module, -P PLUGIN_NAME β€” Load a plugin or profile by name. plug in your fave ✨
  • --redirection OPT β€” Transparent redirection support. (OPT=yes[default]|no). yes is the default, iconic behaviour honestly.
  • --proxy, -x URL β€” SOCKS5 proxy server URL. (ex: socks5://login:pass@socks.example.org). sneaking through the back door, we love to see it.
  • --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. 🏷️

πŸ’œ Security Options

  • --capath CA_path β€” Add an additional certificate authority directory. more CAs, more trust, more slay.
  • --cert, -E cred_path β€” Client Certificate in PEM format. show them your credentials, literally.
  • --key priv_path β€” Private key in PEM format. πŸ”
  • --insecure, -k β€” Disable SSL credential checks. > bestie. this turns off the safety checks. she will not be checking who she's talking to. only do this when you know exactly what you're doing, okay?? 😭
  • --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. Azure girlies rise up 🩡

πŸ“ EXAMPLES πŸ“

Upload local file to a http server

davix-put /tmp/file1 http://example.org/dir1/dir2/file1

Upload a local file to a Grid compatible storage

davix-put -P grid /tmp/file1 davs://grid-storage.example.org/dir1/file1

Upload a resource to a OAuth 2.0 compatible service

davix-put /tmp/file https://example.org/dir1/tmpfile -H "Authorization: Bearer mytoken"

Upload local directory to a http server

davix-put mydir http://example.org/dir1

πŸ”₯ SEE ALSO πŸ”₯

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

(yes, she's referring to herself twice. self-love, we stan πŸ’…)


http://dmc.web.cern.ch/projects/davix/home


πŸŽ€ AUTHORS πŸŽ€

Adrien Devresse <adrien.devresse@cern.ch>, IT-SDC-ID, CERN β€” thank you king πŸ‘‘


and that's the whole page, bestie!! this manual is from the davix toolset, dated $Date: 2014/05/24 $. go upload something iconic πŸ’–βœ¨πŸŒΈ
πŸ“¦ where this page comes from