aspera-cli 4.10.0 → 4.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/BUGS.md +19 -0
- data/CHANGELOG.md +528 -0
- data/CONTRIBUTING.md +143 -0
- data/README.md +977 -589
- data/bin/ascli +4 -4
- data/bin/asession +12 -12
- data/docs/test_env.conf +29 -19
- data/examples/aoc.rb +6 -6
- data/examples/dascli +18 -16
- data/examples/faspex4.rb +15 -15
- data/examples/node.rb +12 -12
- data/examples/proxy.pac +2 -2
- data/examples/server.rb +12 -12
- data/lib/aspera/aoc.rb +344 -272
- data/lib/aspera/ascmd.rb +56 -54
- data/lib/aspera/ats_api.rb +4 -4
- data/lib/aspera/cli/basic_auth_plugin.rb +15 -12
- data/lib/aspera/cli/extended_value.rb +9 -9
- data/lib/aspera/cli/{formater.rb → formatter.rb} +69 -69
- data/lib/aspera/cli/listener/line_dump.rb +1 -1
- data/lib/aspera/cli/listener/logger.rb +1 -1
- data/lib/aspera/cli/listener/progress.rb +5 -6
- data/lib/aspera/cli/listener/progress_multi.rb +16 -21
- data/lib/aspera/cli/main.rb +72 -73
- data/lib/aspera/cli/manager.rb +112 -112
- data/lib/aspera/cli/plugin.rb +68 -48
- data/lib/aspera/cli/plugins/alee.rb +4 -4
- data/lib/aspera/cli/plugins/aoc.rb +322 -720
- data/lib/aspera/cli/plugins/ats.rb +50 -52
- data/lib/aspera/cli/plugins/bss.rb +10 -10
- data/lib/aspera/cli/plugins/config.rb +514 -410
- data/lib/aspera/cli/plugins/console.rb +12 -12
- data/lib/aspera/cli/plugins/cos.rb +18 -20
- data/lib/aspera/cli/plugins/faspex.rb +134 -136
- data/lib/aspera/cli/plugins/faspex5.rb +235 -70
- data/lib/aspera/cli/plugins/node.rb +378 -309
- data/lib/aspera/cli/plugins/orchestrator.rb +52 -49
- data/lib/aspera/cli/plugins/preview.rb +129 -120
- data/lib/aspera/cli/plugins/server.rb +137 -83
- data/lib/aspera/cli/plugins/shares.rb +77 -52
- data/lib/aspera/cli/plugins/sync.rb +13 -33
- data/lib/aspera/cli/transfer_agent.rb +61 -61
- data/lib/aspera/cli/version.rb +2 -1
- data/lib/aspera/colors.rb +3 -3
- data/lib/aspera/command_line_builder.rb +78 -74
- data/lib/aspera/cos_node.rb +31 -29
- data/lib/aspera/data_repository.rb +1 -1
- data/lib/aspera/environment.rb +30 -28
- data/lib/aspera/fasp/agent_base.rb +17 -15
- data/lib/aspera/fasp/agent_connect.rb +34 -32
- data/lib/aspera/fasp/agent_direct.rb +70 -73
- data/lib/aspera/fasp/agent_httpgw.rb +79 -74
- data/lib/aspera/fasp/agent_node.rb +26 -26
- data/lib/aspera/fasp/agent_trsdk.rb +20 -20
- data/lib/aspera/fasp/error.rb +3 -2
- data/lib/aspera/fasp/error_info.rb +11 -8
- data/lib/aspera/fasp/installation.rb +80 -80
- data/lib/aspera/fasp/listener.rb +2 -2
- data/lib/aspera/fasp/parameters.rb +103 -92
- data/lib/aspera/fasp/parameters.yaml +313 -214
- data/lib/aspera/fasp/resume_policy.rb +10 -10
- data/lib/aspera/fasp/transfer_spec.rb +22 -2
- data/lib/aspera/fasp/uri.rb +7 -7
- data/lib/aspera/faspex_gw.rb +80 -159
- data/lib/aspera/faspex_postproc.rb +77 -0
- data/lib/aspera/hash_ext.rb +3 -3
- data/lib/aspera/id_generator.rb +5 -5
- data/lib/aspera/keychain/encrypted_hash.rb +23 -28
- data/lib/aspera/keychain/macos_security.rb +21 -20
- data/lib/aspera/log.rb +13 -13
- data/lib/aspera/nagios.rb +24 -23
- data/lib/aspera/node.rb +217 -38
- data/lib/aspera/oauth.rb +78 -74
- data/lib/aspera/open_application.rb +19 -11
- data/lib/aspera/persistency_action_once.rb +4 -4
- data/lib/aspera/persistency_folder.rb +13 -13
- data/lib/aspera/preview/file_types.rb +8 -8
- data/lib/aspera/preview/generator.rb +67 -67
- data/lib/aspera/preview/utils.rb +27 -27
- data/lib/aspera/proxy_auto_config.js +63 -63
- data/lib/aspera/proxy_auto_config.rb +19 -19
- data/lib/aspera/rest.rb +65 -67
- data/lib/aspera/rest_call_error.rb +2 -1
- data/lib/aspera/rest_error_analyzer.rb +22 -21
- data/lib/aspera/rest_errors_aspera.rb +16 -16
- data/lib/aspera/secret_hider.rb +17 -14
- data/lib/aspera/ssh.rb +15 -14
- data/lib/aspera/sync.rb +177 -62
- data/lib/aspera/temp_file_manager.rb +2 -2
- data/lib/aspera/uri_reader.rb +4 -4
- data/lib/aspera/web_auth.rb +13 -64
- data/lib/aspera/web_server_simple.rb +76 -0
- data.tar.gz.sig +0 -0
- metadata +11 -6
- metadata.gz.sig +0 -0
@@ -1,13 +1,13 @@
|
|
1
|
-
# desc
|
1
|
+
# desc : description
|
2
2
|
# accepted_types : accepted types for non-enum
|
3
|
-
# default
|
4
|
-
# enum
|
5
|
-
#
|
6
|
-
# required
|
7
|
-
#
|
8
|
-
#
|
9
|
-
#
|
10
|
-
#
|
3
|
+
# default : default value if not specified
|
4
|
+
# enum : set with list of values for enum types accepted in transfer spec
|
5
|
+
# agents : supported agents (for doc only)
|
6
|
+
# required : optional, default: false
|
7
|
+
# cli.type : ascp: type of parameter, one of CLI_OPTION_TYPES
|
8
|
+
# cli.switch : ascp: switch for ascp command line
|
9
|
+
# cli.convert : ascp: transform value: either a Hash with conversion values, or name of class
|
10
|
+
# cli.variable : ascp: name of env var
|
11
11
|
---
|
12
12
|
cipher:
|
13
13
|
:desc: "In transit encryption type."
|
@@ -23,31 +23,36 @@ cipher:
|
|
23
23
|
- aes-192-gcm
|
24
24
|
- aes-256-gcm
|
25
25
|
:default: none
|
26
|
-
:
|
27
|
-
|
28
|
-
|
26
|
+
:cli:
|
27
|
+
:type: :opt_with_arg
|
28
|
+
:switch: "-c"
|
29
|
+
:convert: Aspera::Fasp::Parameters.convert_remove_hyphen
|
29
30
|
content_protection:
|
30
31
|
:desc: Enable client-side encryption at rest. (CSEAR, content protection)
|
31
32
|
:enum:
|
32
33
|
- encrypt
|
33
34
|
- decrypt
|
34
|
-
:
|
35
|
-
|
35
|
+
:cli:
|
36
|
+
:type: :opt_with_arg
|
37
|
+
:switch: "--file-crypt"
|
36
38
|
content_protection_password:
|
37
39
|
:desc: "Specifies CSEAR password. (content protection)"
|
38
40
|
:accepted_types: :string
|
39
|
-
:
|
40
|
-
|
41
|
+
:cli:
|
42
|
+
:type: :envvar
|
43
|
+
:variable: ASPERA_SCP_FILEPASS
|
41
44
|
cookie:
|
42
45
|
:desc: Metadata for transfer specified by application
|
43
46
|
:accepted_types: :string
|
44
|
-
:
|
45
|
-
|
47
|
+
:cli:
|
48
|
+
:type: :envvar
|
49
|
+
:variable: ASPERA_SCP_COOKIE
|
46
50
|
create_dir:
|
47
51
|
:desc: Specifies whether to create new directories.
|
48
52
|
:accepted_types: :bool
|
49
|
-
:
|
50
|
-
|
53
|
+
:cli:
|
54
|
+
:type: :opt_without_arg
|
55
|
+
:switch: "-d"
|
51
56
|
delete_before_transfer:
|
52
57
|
:desc: |-
|
53
58
|
Before transfer, delete files that exist at the destination but not at the source.
|
@@ -56,54 +61,62 @@ delete_before_transfer:
|
|
56
61
|
on the source are not deleted.
|
57
62
|
|
58
63
|
|
59
|
-
:
|
64
|
+
:cli:
|
65
|
+
:type: :opt_without_arg
|
60
66
|
delete_source: # duplicate of remove_after_transfer ?
|
61
67
|
:desc: Remove SRC files after transfer success
|
62
68
|
:accepted_types: :bool
|
63
|
-
:
|
69
|
+
:agents:
|
64
70
|
- :node
|
65
71
|
- :direct
|
66
|
-
:
|
67
|
-
|
72
|
+
:cli:
|
73
|
+
:type: :opt_without_arg
|
74
|
+
:switch: "--remove-after-transfer"
|
68
75
|
destination_root:
|
69
76
|
:desc: Destination root directory.
|
70
77
|
:required: true
|
71
|
-
:
|
78
|
+
:cli:
|
79
|
+
:type: :special
|
72
80
|
destination_root_id:
|
73
81
|
:desc: The file ID of the destination root directory. Required when using Bearer token auth for the destination node.
|
74
82
|
:accepted_types: :string
|
75
|
-
:
|
83
|
+
:agents:
|
76
84
|
- :sdk
|
77
|
-
:
|
85
|
+
:cli:
|
86
|
+
:type: :ignore
|
78
87
|
direction:
|
79
88
|
:desc: 'Direction of transfer (on client side)'
|
80
89
|
:required: true
|
81
90
|
:enum:
|
82
91
|
- send
|
83
92
|
- receive
|
84
|
-
:
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
93
|
+
:cli:
|
94
|
+
:type: :opt_with_arg
|
95
|
+
:switch: "--mode"
|
96
|
+
:convert:
|
97
|
+
receive: recv
|
98
|
+
send: send
|
89
99
|
exclude_newer_than:
|
90
100
|
:desc: skip src files with mtime > arg
|
91
101
|
:accepted_types: :int
|
92
|
-
:
|
102
|
+
:agents:
|
93
103
|
- :direct
|
94
|
-
:
|
104
|
+
:cli:
|
105
|
+
:type: :opt_with_arg
|
95
106
|
exclude_older_than:
|
96
107
|
:desc: skip src files with mtime < arg
|
97
108
|
:accepted_types: :int
|
98
|
-
:
|
109
|
+
:agents:
|
99
110
|
- :direct
|
100
|
-
:
|
111
|
+
:cli:
|
112
|
+
:type: :opt_with_arg
|
101
113
|
fasp_port:
|
102
114
|
:desc: Specifies fasp (UDP) port.
|
103
115
|
:accepted_types: :int
|
104
116
|
:default: 33001
|
105
|
-
:
|
106
|
-
|
117
|
+
:cli:
|
118
|
+
:type: :opt_with_arg
|
119
|
+
:switch: "-O"
|
107
120
|
file_checksum:
|
108
121
|
:desc: "Enable checksum reporting for transferred files by specifying the hash to use."
|
109
122
|
:enum:
|
@@ -114,41 +127,46 @@ file_checksum:
|
|
114
127
|
- md5
|
115
128
|
- none
|
116
129
|
:default: none
|
117
|
-
:
|
130
|
+
:agents:
|
118
131
|
- :sdk
|
119
132
|
- :node
|
120
133
|
- :direct
|
121
|
-
:
|
122
|
-
|
134
|
+
:cli:
|
135
|
+
:type: :ignore
|
136
|
+
:switch: "--checksum-type"
|
123
137
|
http_fallback:
|
124
138
|
:desc: When true(1), attempts to perform an HTTP transfer if a FASP transfer cannot be performed.
|
125
139
|
:accepted_types:
|
126
140
|
- :bool
|
127
141
|
- :string
|
128
|
-
:
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
142
|
+
:cli:
|
143
|
+
:type: :opt_with_arg
|
144
|
+
:switch: "-y"
|
145
|
+
:convert:
|
146
|
+
force: F
|
147
|
+
true: 1
|
148
|
+
false: 0
|
134
149
|
http_fallback_port:
|
135
150
|
:desc: Specifies http port when no cipher is used
|
136
151
|
:accepted_types: :int
|
137
|
-
:
|
152
|
+
:agents:
|
138
153
|
- :direct
|
139
|
-
:
|
140
|
-
|
154
|
+
:cli:
|
155
|
+
:type: :opt_with_arg
|
156
|
+
:switch: "-t"
|
141
157
|
https_fallback_port:
|
142
158
|
:desc: Specifies https port when cipher is used
|
143
159
|
:accepted_types: :int
|
144
|
-
:
|
145
|
-
|
160
|
+
:cli:
|
161
|
+
:type: :opt_with_arg
|
162
|
+
:switch: "-t"
|
146
163
|
move_after_transfer:
|
147
164
|
:desc: The relative path to which the files will be moved after the transfer at the source side. Available as of 3.8.0.
|
148
|
-
:
|
149
|
-
:tragents:
|
165
|
+
:agents:
|
150
166
|
- :direct
|
151
167
|
- :node
|
168
|
+
:cli:
|
169
|
+
:type: :opt_with_arg
|
152
170
|
multi_session:
|
153
171
|
:desc: |
|
154
172
|
Use multi-session transfer. max 128.
|
@@ -157,8 +175,9 @@ multi_session:
|
|
157
175
|
|
158
176
|
|
159
177
|
:accepted_types: :int
|
160
|
-
:
|
161
|
-
|
178
|
+
:cli:
|
179
|
+
:type: :ignore
|
180
|
+
:switch: "-C"
|
162
181
|
multi_session_threshold:
|
163
182
|
:desc: |-
|
164
183
|
Split files across multiple ascp sessions if their size in bytes is greater than or equal to the specified value.
|
@@ -166,10 +185,11 @@ multi_session_threshold:
|
|
166
185
|
|
167
186
|
|
168
187
|
:accepted_types: :int
|
169
|
-
:
|
188
|
+
:agents:
|
170
189
|
- :direct
|
171
190
|
- :node
|
172
|
-
:
|
191
|
+
:cli:
|
192
|
+
:type: :opt_with_arg
|
173
193
|
overwrite:
|
174
194
|
:desc: "Overwrite destination files with the source files of the same name."
|
175
195
|
:default: diff
|
@@ -179,7 +199,8 @@ overwrite:
|
|
179
199
|
- diff
|
180
200
|
- older
|
181
201
|
- diff+older
|
182
|
-
:
|
202
|
+
:cli:
|
203
|
+
:type: :opt_with_arg
|
183
204
|
password:
|
184
205
|
:desc: |-
|
185
206
|
Password for local Windows user when transfer user associated with node api user is not the same as the one running asperanoded.
|
@@ -189,26 +210,33 @@ password:
|
|
189
210
|
|
190
211
|
:required: false
|
191
212
|
:accepted_types: :string
|
192
|
-
:
|
193
|
-
:tragents:
|
213
|
+
:agents:
|
194
214
|
- :node
|
215
|
+
:cli:
|
216
|
+
:type: :ignore
|
195
217
|
paths:
|
196
218
|
:desc: Array of path to the source (required) and a path to the destination (optional).
|
197
219
|
:required: true
|
198
220
|
:accepted_types: :array
|
199
|
-
:
|
221
|
+
:cli:
|
222
|
+
:type: :special
|
200
223
|
precalculate_job_size:
|
201
|
-
:cltype: :opt_without_arg
|
202
|
-
:accepted_types: :bool
|
203
224
|
:desc: Specifies whether to precalculate the job size.
|
225
|
+
:accepted_types: :bool
|
226
|
+
:cli:
|
227
|
+
:type: :opt_without_arg
|
204
228
|
preserve_access_time:
|
205
|
-
:
|
229
|
+
:cli:
|
230
|
+
:type: :opt_without_arg
|
206
231
|
preserve_creation_time:
|
207
|
-
:
|
232
|
+
:cli:
|
233
|
+
:type: :opt_without_arg
|
208
234
|
preserve_modification_time:
|
209
|
-
:
|
235
|
+
:cli:
|
236
|
+
:type: :opt_without_arg
|
210
237
|
preserve_times:
|
211
|
-
:
|
238
|
+
:cli:
|
239
|
+
:type: :opt_without_arg
|
212
240
|
rate_policy:
|
213
241
|
:desc: The transfer rate policy to use when sharing bandwidth.
|
214
242
|
:enum:
|
@@ -216,51 +244,59 @@ rate_policy:
|
|
216
244
|
- fair
|
217
245
|
- high
|
218
246
|
- fixed
|
219
|
-
:
|
220
|
-
|
247
|
+
:cli:
|
248
|
+
:type: :opt_with_arg
|
249
|
+
:switch: "--policy"
|
221
250
|
remote_access_key:
|
222
251
|
:desc: The access key ID of the access key that was used to construct the bearer token that is used to authenticate to the remote node.
|
223
252
|
:accepted_types: :string
|
224
|
-
:
|
253
|
+
:agents:
|
225
254
|
- :sdk
|
226
|
-
:
|
255
|
+
:cli:
|
256
|
+
:type: :ignore
|
227
257
|
remote_host:
|
228
258
|
:desc: IP or fully qualified domain name of the remote server
|
229
259
|
:required: true
|
230
|
-
:
|
231
|
-
|
260
|
+
:cli:
|
261
|
+
:type: :opt_with_arg
|
262
|
+
:switch: "--host"
|
232
263
|
remote_user:
|
233
264
|
:desc: Remote user. Default value is "xfer" on node or connect.
|
234
265
|
:required: true
|
235
|
-
:
|
236
|
-
|
266
|
+
:cli:
|
267
|
+
:type: :opt_with_arg
|
268
|
+
:switch: "--user"
|
237
269
|
remote_password:
|
238
270
|
:desc: SSH session password
|
239
|
-
:
|
240
|
-
|
271
|
+
:cli:
|
272
|
+
:type: :envvar
|
273
|
+
:variable: ASPERA_SCP_PASS
|
241
274
|
remove_after_transfer:
|
242
275
|
:desc: Remove SRC files after transfer success
|
243
276
|
:accepted_types: :bool
|
244
|
-
:
|
277
|
+
:agents:
|
245
278
|
- :direct
|
246
279
|
- :node
|
247
|
-
:
|
280
|
+
:cli:
|
281
|
+
:type: :opt_without_arg
|
248
282
|
remove_empty_directories:
|
249
283
|
:desc: Specifies whether to remove empty directories.
|
250
284
|
:accepted_types: :bool
|
251
|
-
:
|
285
|
+
:agents:
|
252
286
|
- :direct
|
253
287
|
- :node
|
254
|
-
:
|
288
|
+
:cli:
|
289
|
+
:type: :opt_without_arg
|
255
290
|
remove_skipped:
|
256
291
|
:desc: Must also have remove_after_transfer set to true, Defaults to false, if true, skipped files will be removed as well.
|
257
292
|
:accepted_types: :bool
|
258
|
-
:
|
293
|
+
:agents:
|
259
294
|
- :direct
|
260
295
|
- :connect
|
261
296
|
- :sdk
|
262
297
|
- :node
|
263
|
-
:
|
298
|
+
:cli:
|
299
|
+
:type: :opt_without_arg
|
264
300
|
proxy:
|
265
301
|
:desc: |-
|
266
302
|
Specify the address of the Aspera high-speed proxy server.
|
@@ -269,10 +305,11 @@ proxy:
|
|
269
305
|
Password, if specified here, overrides the value of environment variable ASPERA_PROXY_PASS.
|
270
306
|
|
271
307
|
|
272
|
-
:
|
308
|
+
:agents:
|
273
309
|
- :direct
|
274
310
|
- :sdk
|
275
|
-
:
|
311
|
+
:cli:
|
312
|
+
:type: :opt_with_arg
|
276
313
|
resume_policy:
|
277
314
|
:desc: If a transfer is interrupted or fails to finish, resume without re-transferring the whole files.
|
278
315
|
:default: faspmgr:none;other:sparse_csum
|
@@ -281,61 +318,68 @@ resume_policy:
|
|
281
318
|
- attrs
|
282
319
|
- sparse_csum
|
283
320
|
- full_csum
|
284
|
-
:
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
321
|
+
:cli:
|
322
|
+
:type: :opt_with_arg
|
323
|
+
:switch: "-k"
|
324
|
+
:convert:
|
325
|
+
none: 0
|
326
|
+
attrs: 1
|
327
|
+
sparse_csum: 2
|
328
|
+
full_csum: 3
|
291
329
|
retry_duration:
|
292
330
|
:desc: Specifies how long to wait before retrying transfer. (e.g. "5min")
|
293
331
|
:accepted_types:
|
294
332
|
- :string
|
295
333
|
- :int
|
296
|
-
:
|
334
|
+
:agents:
|
297
335
|
- :node
|
298
336
|
- :connect
|
299
337
|
- :sdk
|
300
|
-
:
|
338
|
+
:cli:
|
339
|
+
:type: :ignore
|
301
340
|
source_root_id:
|
302
341
|
:desc: The file ID of the source root directory. Required when using Bearer token auth for the source node.
|
303
342
|
:accepted_types: :string
|
304
|
-
:
|
343
|
+
:agents:
|
305
344
|
- :sdk
|
306
345
|
- :node
|
307
|
-
:
|
346
|
+
:cli:
|
347
|
+
:type: :ignore
|
308
348
|
ssh_port:
|
309
349
|
:desc: "Specifies SSH (TCP) port. Default: local:22, other:33001"
|
310
350
|
:accepted_types: :int
|
311
|
-
:
|
312
|
-
|
351
|
+
:cli:
|
352
|
+
:type: :opt_with_arg
|
353
|
+
:switch: "-P"
|
313
354
|
ssh_private_key:
|
314
355
|
:desc: |-
|
315
356
|
Private key used for SSH authentication.
|
316
|
-
Shall look like: -----BEGIN RSA PRIV4TE KEY
|
317
|
-
Note the JSON encoding:
|
357
|
+
Shall look like: -----BEGIN RSA PRIV4TE KEY-----/nMII...
|
358
|
+
Note the JSON encoding: /n for newlines.
|
318
359
|
|
319
360
|
|
320
|
-
:
|
361
|
+
:agents:
|
321
362
|
- :direct
|
322
363
|
- :sdk
|
323
|
-
:
|
324
|
-
|
364
|
+
:cli:
|
365
|
+
:type: :envvar
|
366
|
+
:variable: ASPERA_SCP_KEY
|
325
367
|
ssh_private_key_passphrase:
|
326
368
|
:desc: The passphrase associated with the transfer user's SSH private key. Available as of 3.7.2.
|
327
369
|
:accepted_types: :string
|
328
|
-
:
|
370
|
+
:agents:
|
329
371
|
- :sdk
|
330
372
|
- :direct
|
331
|
-
:
|
332
|
-
|
373
|
+
:cli:
|
374
|
+
:type: :envvar
|
375
|
+
:variable: ASPERA_SCP_PASS
|
333
376
|
ssh_args:
|
334
377
|
:desc: Array of arguments to pass to SSH. Use with caution.
|
335
378
|
:accepted_types: :string
|
336
|
-
:
|
379
|
+
:agents:
|
337
380
|
- :sdk
|
338
|
-
:
|
381
|
+
:cli:
|
382
|
+
:type: :ignore
|
339
383
|
symlink_policy:
|
340
384
|
:desc: "Handle source side symbolic links"
|
341
385
|
:enum:
|
@@ -344,77 +388,92 @@ symlink_policy:
|
|
344
388
|
- copy+force
|
345
389
|
- skip
|
346
390
|
:default: follow
|
347
|
-
:
|
348
|
-
|
391
|
+
:cli:
|
392
|
+
:type: :opt_with_arg
|
393
|
+
:switch: "--symbolic-links"
|
349
394
|
tags:
|
350
395
|
:desc: Metadata for transfer as JSON
|
351
396
|
:accepted_types: :hash
|
352
|
-
:
|
353
|
-
|
354
|
-
|
397
|
+
:cli:
|
398
|
+
:type: :opt_with_arg
|
399
|
+
:switch: "--tags64"
|
400
|
+
:convert: Aspera::Fasp::Parameters.convert_json64
|
355
401
|
target_rate_cap_kbps:
|
356
402
|
:desc: Returned by upload/download_setup node API.
|
357
403
|
:accepted_types: :int
|
358
|
-
:
|
404
|
+
:agents:
|
359
405
|
- :connect
|
360
|
-
:
|
406
|
+
:cli:
|
407
|
+
:type: :ignore
|
361
408
|
target_rate_kbps:
|
362
409
|
:desc: Specifies desired speed for the transfer.
|
363
410
|
:accepted_types: :int
|
364
|
-
:
|
365
|
-
|
411
|
+
:cli:
|
412
|
+
:type: :opt_with_arg
|
413
|
+
:switch: "-l"
|
366
414
|
title:
|
367
415
|
:desc: Title of the transfer
|
368
416
|
:accepted_types: :string
|
369
|
-
:
|
417
|
+
:agents:
|
370
418
|
- :node
|
371
419
|
- :connect
|
372
420
|
- :sdk
|
421
|
+
:cli:
|
422
|
+
:type: :ignore
|
373
423
|
token:
|
374
424
|
:desc: 'Authorization token: Bearer, Basic or ATM (Also arg -W)'
|
375
|
-
:
|
376
|
-
|
425
|
+
:cli:
|
426
|
+
:type: :envvar
|
427
|
+
:variable: ASPERA_SCP_TOKEN
|
377
428
|
use_ascp4:
|
378
429
|
:desc: specify version of protocol
|
379
430
|
:accepted_types: :bool
|
380
431
|
:default: false
|
381
|
-
:
|
432
|
+
:agents:
|
382
433
|
- :direct
|
383
434
|
- :node
|
384
435
|
- :sdk
|
385
|
-
:
|
436
|
+
:cli:
|
437
|
+
:type: :special
|
386
438
|
use_system_ssh:
|
387
439
|
:accepted_types: :string
|
388
|
-
:
|
440
|
+
:agents:
|
389
441
|
- :sdk
|
390
|
-
:
|
391
|
-
|
442
|
+
:cli:
|
443
|
+
:type: :ignore
|
444
|
+
:switch: "-SSH"
|
392
445
|
source_root:
|
393
446
|
:desc: |-
|
394
447
|
Path to be prepended to each source path.
|
395
448
|
This is either a conventional path or it can be a URI but only if there is no root defined.
|
396
449
|
|
397
450
|
|
398
|
-
:
|
399
|
-
|
400
|
-
|
451
|
+
:cli:
|
452
|
+
:type: :opt_with_arg
|
453
|
+
:switch: "--source-prefix64"
|
454
|
+
:convert: Aspera::Fasp::Parameters.convert_base64
|
401
455
|
min_rate_cap_kbps:
|
402
456
|
:accepted_types: :int
|
403
|
-
:
|
457
|
+
:cli:
|
458
|
+
:type: :ignore
|
404
459
|
lock_rate_policy:
|
405
460
|
:accepted_types: :bool
|
406
|
-
:
|
461
|
+
:cli:
|
462
|
+
:type: :ignore
|
407
463
|
lock_target_rate_kbps:
|
408
464
|
:accepted_types: :bool
|
409
|
-
:
|
465
|
+
:cli:
|
466
|
+
:type: :ignore
|
410
467
|
lock_min_rate_kbps:
|
411
|
-
:cltype: :ignore
|
412
468
|
:accepted_types: :bool
|
469
|
+
:cli:
|
470
|
+
:type: :ignore
|
413
471
|
apply_local_docroot:
|
414
|
-
:
|
472
|
+
:agents:
|
415
473
|
- :direct
|
416
474
|
- :sdk
|
417
|
-
:
|
475
|
+
:cli:
|
476
|
+
:type: :opt_without_arg
|
418
477
|
src_base:
|
419
478
|
:desc: |-
|
420
479
|
Specify the prefix to be stripped off from each source object.
|
@@ -422,13 +481,14 @@ src_base:
|
|
422
481
|
Special care must be taken when used with cloud storage.
|
423
482
|
|
424
483
|
|
425
|
-
:
|
484
|
+
:agents:
|
426
485
|
- :direct
|
427
486
|
- :node
|
428
487
|
- :sdk
|
429
|
-
:
|
430
|
-
|
431
|
-
|
488
|
+
:cli:
|
489
|
+
:type: :opt_with_arg
|
490
|
+
:switch: "--src-base64"
|
491
|
+
:convert: Aspera::Fasp::Parameters.convert_base64
|
432
492
|
preserve_acls:
|
433
493
|
:desc: "Preserve access control lists."
|
434
494
|
:enum:
|
@@ -436,10 +496,11 @@ preserve_acls:
|
|
436
496
|
- native
|
437
497
|
- metafile
|
438
498
|
:default: none
|
439
|
-
:
|
499
|
+
:agents:
|
440
500
|
- :direct
|
441
501
|
- :sdk
|
442
|
-
:
|
502
|
+
:cli:
|
503
|
+
:type: :opt_with_arg
|
443
504
|
preserve_remote_acls:
|
444
505
|
:desc: "Preserve remote access control lists."
|
445
506
|
:enum:
|
@@ -447,25 +508,28 @@ preserve_remote_acls:
|
|
447
508
|
- native
|
448
509
|
- metafile
|
449
510
|
:default: none
|
450
|
-
:
|
511
|
+
:agents:
|
451
512
|
- :sdk
|
452
513
|
- :direct
|
453
|
-
:
|
454
|
-
|
514
|
+
:cli:
|
515
|
+
:type: :opt_with_arg
|
516
|
+
:switch: "--remote-preserve-acls"
|
455
517
|
preserve_file_owner_uid:
|
456
518
|
:desc: Preserve the user ID for a file owner
|
457
519
|
:accepted_types: :bool
|
458
|
-
:
|
520
|
+
:agents:
|
459
521
|
- :sdk
|
460
522
|
- :direct
|
461
|
-
:
|
523
|
+
:cli:
|
524
|
+
:type: :opt_without_arg
|
462
525
|
preserve_file_owner_gid:
|
463
526
|
:desc: Preserve the group ID for a file owner
|
464
527
|
:accepted_types: :bool
|
465
|
-
:
|
528
|
+
:agents:
|
466
529
|
- :sdk
|
467
530
|
- :direct
|
468
|
-
:
|
531
|
+
:cli:
|
532
|
+
:type: :opt_without_arg
|
469
533
|
preserve_extended_attrs:
|
470
534
|
:desc: "Preserve the extended attributes."
|
471
535
|
:enum:
|
@@ -473,100 +537,116 @@ preserve_extended_attrs:
|
|
473
537
|
- native
|
474
538
|
- metafile
|
475
539
|
:default: none
|
476
|
-
:
|
540
|
+
:agents:
|
477
541
|
- :sdk
|
478
|
-
:
|
479
|
-
|
542
|
+
:cli:
|
543
|
+
:type: :opt_with_arg
|
544
|
+
:switch: "--preserve-xattrs"
|
480
545
|
preserve_source_access_time:
|
481
546
|
:desc: Preserve the time logged for when the source file was accessed
|
482
547
|
:accepted_types: :bool
|
483
|
-
:
|
548
|
+
:agents:
|
484
549
|
- :sdk
|
485
550
|
- :direct
|
486
|
-
:
|
551
|
+
:cli:
|
552
|
+
:type: :opt_without_arg
|
487
553
|
remove_empty_source_directory:
|
488
554
|
:desc: "Remove empty source subdirectories and remove the source directory itself, if empty"
|
489
555
|
:accepted_types: :bool
|
490
|
-
:
|
556
|
+
:agents:
|
491
557
|
- :direct
|
492
558
|
- :sdk
|
493
|
-
:
|
559
|
+
:cli:
|
560
|
+
:type: :opt_without_arg
|
494
561
|
EX_at_rest_password:
|
495
562
|
:desc: "DEPRECATED: Prefer to use standard parameter: content_protection_password"
|
496
|
-
:
|
563
|
+
:agents:
|
497
564
|
- :direct
|
498
|
-
:
|
499
|
-
|
565
|
+
:cli:
|
566
|
+
:type: :envvar
|
567
|
+
:variable: ASPERA_SCP_FILEPASS
|
500
568
|
EX_proxy_password:
|
501
569
|
:desc: |-
|
502
570
|
Password used for Aspera proxy server authentication.
|
503
571
|
May be overridden by password in URL EX_fasp_proxy_url.
|
504
572
|
|
505
573
|
|
506
|
-
:
|
574
|
+
:agents:
|
507
575
|
- :direct
|
508
|
-
:
|
509
|
-
|
576
|
+
:cli:
|
577
|
+
:type: :envvar
|
578
|
+
:variable: ASPERA_PROXY_PASS
|
510
579
|
EX_license_text:
|
511
580
|
:desc: "License file text override.\nBy default ascp looks for license file near executable."
|
512
|
-
:
|
581
|
+
:agents:
|
513
582
|
- :direct
|
514
|
-
:
|
515
|
-
|
583
|
+
:cli:
|
584
|
+
:type: :envvar
|
585
|
+
:variable: ASPERA_SCP_LICENSE
|
516
586
|
keepalive:
|
517
|
-
:
|
518
|
-
:tragents:
|
587
|
+
:agents:
|
519
588
|
- :none
|
589
|
+
:cli:
|
590
|
+
:type: :opt_without_arg
|
520
591
|
dgram_size:
|
521
592
|
:desc: UDP datagram size in bytes
|
522
593
|
:accepted_types: :int
|
523
|
-
:
|
524
|
-
|
594
|
+
:cli:
|
595
|
+
:type: :opt_with_arg
|
596
|
+
:switch: "-Z"
|
525
597
|
min_rate_kbps:
|
526
598
|
:desc: Set the minimum transfer rate in kilobits per second.
|
527
599
|
:accepted_types: :int
|
528
600
|
:default: 0
|
529
|
-
:
|
530
|
-
|
601
|
+
:cli:
|
602
|
+
:type: :opt_with_arg
|
603
|
+
:switch: "-m"
|
531
604
|
sshfp:
|
532
605
|
:desc: Check it against server SSH host key fingerprint
|
533
|
-
:
|
534
|
-
|
606
|
+
:cli:
|
607
|
+
:type: :opt_with_arg
|
608
|
+
:switch: "--check-sshfp"
|
535
609
|
EX_http_proxy_url:
|
536
610
|
:desc: Specify the proxy server address used by HTTP Fallback
|
537
|
-
:
|
611
|
+
:agents:
|
538
612
|
- :direct
|
539
|
-
:
|
540
|
-
|
613
|
+
:cli:
|
614
|
+
:type: :opt_with_arg
|
615
|
+
:switch: "-x"
|
541
616
|
EX_ssh_key_paths:
|
542
617
|
:desc: Use public key authentication for SSH and specify the private key file paths
|
543
618
|
:accepted_types: :array
|
544
|
-
:
|
619
|
+
:agents:
|
545
620
|
- :direct
|
546
|
-
:
|
547
|
-
|
621
|
+
:cli:
|
622
|
+
:type: :opt_with_arg
|
623
|
+
:switch: "-i"
|
548
624
|
EX_http_transfer_jpeg:
|
549
625
|
:desc: HTTP transfers as JPEG file
|
550
626
|
:accepted_types: :int
|
551
627
|
:default: '0'
|
552
|
-
:
|
628
|
+
:agents:
|
553
629
|
- :direct
|
554
|
-
:
|
555
|
-
|
630
|
+
:cli:
|
631
|
+
:type: :opt_with_arg
|
632
|
+
:switch: "-j"
|
556
633
|
EX_no_read:
|
557
634
|
:desc: no read source
|
558
|
-
:
|
635
|
+
:agents:
|
559
636
|
- :direct
|
560
|
-
:
|
561
|
-
|
637
|
+
:cli:
|
638
|
+
:type: :opt_without_arg
|
639
|
+
:switch: "--no-read"
|
562
640
|
EX_no_write:
|
563
641
|
:desc: no write on destination
|
564
|
-
:
|
642
|
+
:agents:
|
565
643
|
- :direct
|
566
|
-
:
|
567
|
-
|
644
|
+
:cli:
|
645
|
+
:type: :opt_without_arg
|
646
|
+
:switch: "--no-write"
|
568
647
|
target_rate_percentage:
|
569
|
-
:
|
648
|
+
:cli:
|
649
|
+
:type: :ignore
|
570
650
|
rate_policy_allowed:
|
571
651
|
:desc: "Specifies most aggressive rate policy that is allowed.\nReturned by node API."
|
572
652
|
:enum:
|
@@ -574,69 +654,88 @@ rate_policy_allowed:
|
|
574
654
|
- fair
|
575
655
|
- high
|
576
656
|
- fixed
|
577
|
-
:
|
657
|
+
:agents:
|
578
658
|
- :connect
|
579
|
-
:
|
659
|
+
:cli:
|
660
|
+
:type: :ignore
|
580
661
|
fasp_url:
|
581
|
-
:
|
662
|
+
:agents:
|
582
663
|
- :unknown
|
583
|
-
:
|
664
|
+
:cli:
|
665
|
+
:type: :ignore
|
584
666
|
lock_min_rate:
|
585
667
|
:accepted_types: :bool
|
586
|
-
:
|
668
|
+
:cli:
|
669
|
+
:type: :ignore
|
587
670
|
lock_target_rate:
|
588
671
|
:accepted_types: :bool
|
589
|
-
:
|
672
|
+
:cli:
|
673
|
+
:type: :ignore
|
590
674
|
authentication:
|
591
675
|
:desc: 'value=token for SSH bypass keys, else password asked if not provided.'
|
592
|
-
:
|
593
|
-
:tragents:
|
676
|
+
:agents:
|
594
677
|
- :connect
|
678
|
+
:cli:
|
679
|
+
:type: :ignore
|
595
680
|
cipher_allowed:
|
596
681
|
:desc: returned by node API. Valid literals include "aes-128" and "none".
|
597
|
-
:
|
682
|
+
:cli:
|
683
|
+
:type: :ignore
|
598
684
|
obfuscate_file_names:
|
599
685
|
:accepted_types: :bool
|
600
|
-
:
|
686
|
+
:agents:
|
601
687
|
- :unknown
|
602
|
-
:
|
688
|
+
:cli:
|
689
|
+
:type: :ignore
|
603
690
|
EX_file_list:
|
604
691
|
:desc: source file list
|
605
|
-
:
|
692
|
+
:agents:
|
606
693
|
- :direct
|
607
|
-
:
|
608
|
-
|
694
|
+
:cli:
|
695
|
+
:type: :special
|
696
|
+
:switch: "--file-list"
|
609
697
|
EX_file_pair_list:
|
610
698
|
:desc: source file pair list
|
611
|
-
:
|
699
|
+
:agents:
|
612
700
|
- :direct
|
613
|
-
:
|
614
|
-
|
701
|
+
:cli:
|
702
|
+
:type: :special
|
703
|
+
:switch: "--file-pair-list"
|
615
704
|
EX_ascp_args:
|
616
705
|
:desc: Add native command line arguments to ascp
|
617
|
-
:cltype: :defer
|
618
706
|
:accepted_types: :array
|
619
|
-
:
|
707
|
+
:agents:
|
620
708
|
- :direct
|
709
|
+
:cli:
|
710
|
+
:type: :special
|
621
711
|
wss_enabled:
|
622
|
-
:
|
712
|
+
:desc: Server has Web Socket service enabled
|
623
713
|
:accepted_types: :bool
|
714
|
+
:cli:
|
715
|
+
:type: :special
|
624
716
|
wss_port:
|
625
|
-
:desc: TCP port used for websocket service feed
|
717
|
+
:desc: TCP port used for websocket service feed
|
626
718
|
:accepted_types: :int
|
627
|
-
:
|
719
|
+
:cli:
|
720
|
+
:type: :special
|
628
721
|
compression:
|
629
722
|
:desc: ascp4 only, 0 / 1?
|
630
723
|
:accepted_types: :int
|
631
|
-
:
|
724
|
+
:agents:
|
632
725
|
- :unknown
|
726
|
+
:cli:
|
727
|
+
:type: :ignore
|
633
728
|
read_threads:
|
729
|
+
:desc: ascp4 only
|
634
730
|
:accepted_types: :int
|
635
|
-
:
|
731
|
+
:agents:
|
636
732
|
- :unknown
|
637
|
-
:
|
733
|
+
:cli:
|
734
|
+
:type: :ignore
|
638
735
|
write_threads:
|
639
736
|
:desc: ascp4 only
|
640
737
|
:accepted_types: :int
|
641
|
-
:
|
738
|
+
:agents:
|
642
739
|
- :unknown
|
740
|
+
:cli:
|
741
|
+
:type: :ignore
|