davix-put - Upload tool based on libdavix
davix-put [options]... local_file url
davix-put is a tool to upload resources to http, Webdav or
REST compatible services.
The command supports the protocol Http (http(s)://), WebDav (dav(s)://) and S3 (s3(s)://).
Local resources can either be a single file or a collection.
In the case of collection, all sub-collections will also be uploaded.
davix-put is powered by libdavix. See libdavix(3) for details.
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
Adrien Devresse <firstname.lastname@example.org>, IT-SDC-ID, CERN
|$Date: 2014/05/24 $||davix|