1DAVIX-PUT(1) download tool DAVIX-PUT(1)
2
3
4
6 davix-put - Upload tool based on libdavix
7
9 davix-put [options]... local_file url
10
12 davix-put is a tool to upload resources to http, Webdav or REST compat‐
13 ible services.
14 The command supports the protocol Http (http(s)://), WebDav (dav(s)://)
15 and S3 (s3(s)://).
16
17 Local resources can either be a single file or a collection.
18 In the case of collection, all sub-collections will also be uploaded.
19
20 davix-put is powered by libdavix. See libdavix(3) for details.
21
22
23
25 Common Options:
26
27 --debug
28 Debug mode
29
30 --header, -H
31 Add a header field to the request (eg: -H "Depth: 1" )
32
33 --help, -h
34 Display this help message
35
36 --metalink OPT
37 Metalink support. (OPT=failover[default]|no)
38
39 --module, -P PLUGIN_NAME
40 Load a plugin or profile by name
41
42 --redirection OPT
43 Transparent redirection support. (OPT=yes[default]|no)
44
45 --proxy, -x URL
46 SOCKS5 proxy server URL. (ex: socks5://login:pass@socks.exam‐
47 ple.org)
48
49 --trace
50 Traces specific scope(s), options include:
51 file - Davix file interface
52 posix - Davix POSIX interface
53 xml - XML parser output
54 ssl - SSL and certs details
55 header - HTTP queries headers
56 body - HTTP bodies
57 chain - IO chains info
58 core - Config and Davix command line tools info
59 grid - Misc info from 3rd parties
60 socket - Socket info
61 locks - WebDAV locking info
62 all - Traces everything
63
64 --version
65 Display version
66
67 Security Options:
68
69 --capath CA_path
70 Add an additional certificate authority directory
71
72 --cert, -E cred_path
73 Client Certificate in PEM format
74
75 --key priv_path
76 Private key in PEM format
77
78 --insecure, -k
79 Disable SSL credential checks
80
81 --userlogin
82 User login for login/password authentication
83
84 --userpass
85 User password for login/password authentication
86
87 --s3secretkey
88 AWS S3 authentication: secret key
89
90 --s3accesskey
91 AWS S3 authentication: access key
92
93 --s3region
94 AWS S3 authentication: region
95
96 --s3token
97 AWS S3 security token - used along with STS temporary credentials
98
99 --s3alternate
100 Specify this flag if you need to use a path-based S3 URL
101
102 --azurekey
103 Azure authentication key
104
106 Upload local file to a http server
107 davix-put /tmp/file1 http://example.org/dir1/dir2/file1
108
109 Upload a local file to a Grid compatible storage
110 davix-put -P grid /tmp/file1 davs://grid-storage.exam‐
111 ple.org/dir1/file1
112
113 Upload a resource to a OAuth 2.0 compatible service
114 davix-put /tmp/file https://example.org/dir1/tmpfile -H "Autho‐
115 rization: Bearer mytoken"
116
117 Upload local directory to a http server
118 davix-put mydir http://example.org/dir1
119
120
121
123 libdavix(3),[22mdavix-put(1),davix-put(1),
124
125
127 http://dmc.web.cern.ch/projects/davix/home
128
129
130
132 Adrien Devresse <adrien.devresse@cern.ch>, IT-SDC-ID, CERN
133
134
135
136davix $Date: 2014/05/24 $ DAVIX-PUT(1)