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