aspera-cli 4.24.1 → 4.24.2
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/CHANGELOG.md +15 -2
- data/README.md +745 -436
- data/bin/ascli +20 -1
- data/bin/asession +23 -27
- data/lib/aspera/agent/base.rb +10 -21
- data/lib/aspera/agent/connect.rb +2 -3
- data/lib/aspera/agent/desktop.rb +2 -2
- data/lib/aspera/agent/direct.rb +49 -32
- data/lib/aspera/agent/factory.rb +31 -0
- data/lib/aspera/api/aoc.rb +79 -49
- data/lib/aspera/api/faspex.rb +212 -0
- data/lib/aspera/api/node.rb +99 -84
- data/lib/aspera/ascp/installation.rb +22 -21
- data/lib/aspera/ascp/management.rb +119 -23
- data/lib/aspera/assert.rb +14 -8
- data/lib/aspera/cli/extended_value.rb +15 -15
- data/lib/aspera/cli/formatter.rb +7 -5
- data/lib/aspera/cli/hints.rb +8 -0
- data/lib/aspera/cli/info.rb +4 -4
- data/lib/aspera/cli/main.rb +55 -70
- data/lib/aspera/cli/manager.rb +7 -4
- data/lib/aspera/cli/plugins/alee.rb +2 -1
- data/lib/aspera/cli/plugins/aoc.rb +110 -186
- data/lib/aspera/cli/plugins/ats.rb +4 -4
- data/lib/aspera/cli/plugins/base.rb +335 -0
- data/lib/aspera/cli/plugins/basic_auth.rb +45 -0
- data/lib/aspera/cli/plugins/config.rb +249 -220
- data/lib/aspera/cli/plugins/console.rb +15 -15
- data/lib/aspera/cli/plugins/cos.rb +2 -2
- data/lib/aspera/cli/plugins/factory.rb +78 -0
- data/lib/aspera/cli/plugins/faspex.rb +17 -20
- data/lib/aspera/cli/plugins/faspex5.rb +79 -193
- data/lib/aspera/cli/plugins/faspio.rb +14 -13
- data/lib/aspera/cli/plugins/httpgw.rb +13 -12
- data/lib/aspera/cli/plugins/node.rb +34 -32
- data/lib/aspera/cli/plugins/oauth.rb +48 -0
- data/lib/aspera/cli/plugins/orchestrator.rb +15 -13
- data/lib/aspera/cli/plugins/preview.rb +4 -4
- data/lib/aspera/cli/plugins/server.rb +15 -13
- data/lib/aspera/cli/plugins/shares.rb +18 -15
- data/lib/aspera/cli/sync_actions.rb +1 -1
- data/lib/aspera/cli/transfer_agent.rb +24 -20
- data/lib/aspera/cli/transfer_progress.rb +6 -6
- data/lib/aspera/cli/version.rb +3 -3
- data/lib/aspera/cli/wizard.rb +65 -53
- data/lib/aspera/colors.rb +6 -0
- data/lib/aspera/command_line_builder.rb +45 -50
- data/lib/aspera/command_line_converter.rb +2 -1
- data/lib/aspera/coverage.rb +1 -1
- data/lib/aspera/data_repository.rb +1 -1
- data/lib/aspera/environment.rb +10 -7
- data/lib/aspera/faspex_gw.rb +6 -4
- data/lib/aspera/faspex_postproc.rb +1 -1
- data/lib/aspera/keychain/macos_security.rb +1 -1
- data/lib/aspera/log.rb +37 -9
- data/lib/aspera/nagios.rb +1 -1
- data/lib/aspera/oauth/base.rb +17 -10
- data/lib/aspera/oauth/factory.rb +8 -8
- data/lib/aspera/oauth/web.rb +2 -2
- data/lib/aspera/products/connect.rb +4 -3
- data/lib/aspera/products/desktop.rb +1 -4
- data/lib/aspera/products/other.rb +9 -1
- data/lib/aspera/products/transferd.rb +0 -1
- data/lib/aspera/rest.rb +126 -83
- data/lib/aspera/ssh.rb +3 -3
- data/lib/aspera/sync/args.schema.yaml +46 -3
- data/lib/aspera/sync/conf.schema.yaml +130 -94
- data/lib/aspera/sync/operations.rb +16 -16
- data/lib/aspera/temp_file_manager.rb +17 -5
- data/lib/aspera/transfer/error.rb +16 -7
- data/lib/aspera/transfer/parameters.rb +34 -20
- data/lib/aspera/transfer/resumer.rb +74 -0
- data/lib/aspera/transfer/spec.rb +4 -3
- data/lib/aspera/transfer/spec.schema.yaml +132 -51
- data/lib/aspera/transfer/spec_doc.rb +41 -35
- data/lib/aspera/uri_reader.rb +1 -1
- data/lib/aspera/web_auth.rb +6 -6
- data.tar.gz.sig +0 -0
- metadata +9 -7
- metadata.gz.sig +0 -0
- data/lib/aspera/cli/basic_auth_plugin.rb +0 -43
- data/lib/aspera/cli/plugin.rb +0 -333
- data/lib/aspera/cli/plugin_factory.rb +0 -81
- data/lib/aspera/resumer.rb +0 -77
- data/lib/aspera/transfer/error_info.rb +0 -91
|
@@ -1,10 +1,18 @@
|
|
|
1
1
|
$schema: https://json-schema.org/draft/2020-12/schema
|
|
2
2
|
$id: https://github.com/IBM/aspera-cli/tree/main/lib/aspera/transfer/spec.schema.yaml
|
|
3
|
-
$comment: >-
|
|
4
|
-
The original file is the YAML file.
|
|
5
|
-
`x-` fields documented in command_line_builder.rb
|
|
6
3
|
title: Aspera Transfer Specification
|
|
7
4
|
description: Information defining an Aspera transfer.
|
|
5
|
+
$comment: >-
|
|
6
|
+
The original file is the YAML file.
|
|
7
|
+
The following extensions are used for mapping to ascp arguments.
|
|
8
|
+
x-cli-envvar [String] Name of env var
|
|
9
|
+
x-cli-option [String] Command line option (starts with "-"), or `true`: same as ts, or `false`: not an option
|
|
10
|
+
x-cli-switch [Bool] `true` if option has no arg, else by default option has a value
|
|
11
|
+
x-cli-special [Bool] `true` if not anaged by command line generator (special handling: option or argument)
|
|
12
|
+
x-cli-convert [String,Hash] Method name for Convert object or Conversion Hash for enum: ts to arg
|
|
13
|
+
x-agents [Array] Supported agents (for doc only), if not specified: all
|
|
14
|
+
x-deprecation [String] Deprecation message for doc
|
|
15
|
+
`x-` fields are also documented in `command_line_builder.rb`
|
|
8
16
|
type: object
|
|
9
17
|
required:
|
|
10
18
|
- destination_root
|
|
@@ -15,12 +23,14 @@ required:
|
|
|
15
23
|
properties:
|
|
16
24
|
apply_local_docroot:
|
|
17
25
|
description: Apply local docroot to source paths.
|
|
26
|
+
type: boolean
|
|
18
27
|
x-agents:
|
|
19
28
|
- direct
|
|
20
29
|
- transferd
|
|
21
30
|
x-cli-switch: true
|
|
22
31
|
cipher:
|
|
23
32
|
description: In transit encryption algorithms.
|
|
33
|
+
type: string
|
|
24
34
|
enum:
|
|
25
35
|
- none
|
|
26
36
|
- aes-128
|
|
@@ -37,14 +47,13 @@ properties:
|
|
|
37
47
|
x-cli-convert: remove_hyphen
|
|
38
48
|
content_protection:
|
|
39
49
|
description: Enable client-side encryption at rest (CSEAR).
|
|
40
|
-
|
|
50
|
+
type: string
|
|
41
51
|
enum:
|
|
42
52
|
- encrypt
|
|
43
53
|
- decrypt
|
|
44
54
|
x-cli-option: --file-crypt
|
|
45
55
|
content_protection_password:
|
|
46
56
|
description: Specifies CSEAR password.
|
|
47
|
-
(content protection)
|
|
48
57
|
type: string
|
|
49
58
|
x-cli-envvar: ASPERA_SCP_FILEPASS
|
|
50
59
|
cookie:
|
|
@@ -64,19 +73,23 @@ properties:
|
|
|
64
73
|
|
|
65
74
|
Objects on the destination that have the same name but different type or size as objects
|
|
66
75
|
on the source are not deleted.
|
|
76
|
+
type: boolean
|
|
67
77
|
x-cli-switch: true
|
|
68
78
|
delete_source:
|
|
69
|
-
|
|
70
|
-
|
|
79
|
+
$comment: "TODO: implement"
|
|
80
|
+
description: >-
|
|
81
|
+
Remove transfered source files after transfer success.
|
|
82
|
+
Equivalent to `remove_after_transfer` + `remove_empty_directories` + `remove_empty_source_directory`.
|
|
83
|
+
Take precedence over those.
|
|
71
84
|
type: boolean
|
|
72
85
|
x-agents:
|
|
73
|
-
- node
|
|
74
86
|
- direct
|
|
75
87
|
- transferd
|
|
76
|
-
|
|
77
|
-
x-cli-
|
|
88
|
+
- node
|
|
89
|
+
x-cli-special: true
|
|
78
90
|
destination_root:
|
|
79
91
|
description: Destination root directory.
|
|
92
|
+
type: string
|
|
80
93
|
x-cli-special: true
|
|
81
94
|
destination_root_id:
|
|
82
95
|
description: >-
|
|
@@ -88,6 +101,7 @@ properties:
|
|
|
88
101
|
- transferd
|
|
89
102
|
direction:
|
|
90
103
|
description: Direction of transfer (on client side).
|
|
104
|
+
type: string
|
|
91
105
|
enum:
|
|
92
106
|
- send
|
|
93
107
|
- receive
|
|
@@ -102,6 +116,7 @@ properties:
|
|
|
102
116
|
|
|
103
117
|
e.g. `-86400` for newer than a day back.
|
|
104
118
|
type: string
|
|
119
|
+
x-cli-option: true
|
|
105
120
|
exclude_older_than:
|
|
106
121
|
description: >-
|
|
107
122
|
Exclude files, but not directories, from the transfer if they are older
|
|
@@ -109,10 +124,12 @@ properties:
|
|
|
109
124
|
|
|
110
125
|
e.g. `-86400` for older than a day back.
|
|
111
126
|
type: string
|
|
127
|
+
x-cli-option: true
|
|
112
128
|
fail_bad_filepass:
|
|
113
129
|
description: Fail on bad file decryption passphrase.
|
|
114
130
|
type: boolean
|
|
115
131
|
x-cli-switch: true
|
|
132
|
+
x-cli-option: true
|
|
116
133
|
x-agents:
|
|
117
134
|
- direct
|
|
118
135
|
- transferd
|
|
@@ -128,6 +145,7 @@ properties:
|
|
|
128
145
|
- transferd
|
|
129
146
|
file_checksum:
|
|
130
147
|
description: Enable checksum reporting for transferred files by specifying the hash to use.
|
|
148
|
+
type: string
|
|
131
149
|
enum:
|
|
132
150
|
- sha-512
|
|
133
151
|
- sha-384
|
|
@@ -137,8 +155,9 @@ properties:
|
|
|
137
155
|
- none
|
|
138
156
|
default: none
|
|
139
157
|
x-agents:
|
|
140
|
-
- node
|
|
141
158
|
- direct
|
|
159
|
+
- node
|
|
160
|
+
x-cli-option: true
|
|
142
161
|
http_fallback:
|
|
143
162
|
description: When true(1), attempts to perform an HTTP transfer if a FASP transfer cannot be performed.
|
|
144
163
|
type:
|
|
@@ -163,7 +182,8 @@ properties:
|
|
|
163
182
|
x-agents:
|
|
164
183
|
- transferd
|
|
165
184
|
lock_min_rate:
|
|
166
|
-
|
|
185
|
+
$comment: "TODO: Remove ?"
|
|
186
|
+
description: "n/a"
|
|
167
187
|
type: boolean
|
|
168
188
|
x-agents:
|
|
169
189
|
- connect
|
|
@@ -183,15 +203,16 @@ properties:
|
|
|
183
203
|
- transferd
|
|
184
204
|
- connect
|
|
185
205
|
lock_target_rate:
|
|
186
|
-
|
|
206
|
+
$comment: "TODO: Remove ?"
|
|
207
|
+
description: "n/a"
|
|
187
208
|
type: boolean
|
|
188
209
|
x-agents:
|
|
189
210
|
- connect
|
|
190
211
|
lock_target_rate_kbps:
|
|
191
212
|
description: >-
|
|
192
|
-
If `true`, lock the target transfer rate to the default value set for target_rate_kbps
|
|
213
|
+
If `true`, lock the target transfer rate to the default value set for `target_rate_kbps`.
|
|
193
214
|
|
|
194
|
-
If `false`, users can adjust the transfer rate up to the value set for target_rate_cap_kbps
|
|
215
|
+
If `false`, users can adjust the transfer rate up to the value set for `target_rate_cap_kbps`.
|
|
195
216
|
type: boolean
|
|
196
217
|
x-agents:
|
|
197
218
|
- transferd
|
|
@@ -212,7 +233,7 @@ properties:
|
|
|
212
233
|
Move source files to the specified `archive-dir` directory after they are transferred correctly.
|
|
213
234
|
|
|
214
235
|
Available as of 3.8.0.
|
|
215
|
-
Details in ascp manual.
|
|
236
|
+
Details in `ascp` manual.
|
|
216
237
|
|
|
217
238
|
Requires write permissions on the source.
|
|
218
239
|
|
|
@@ -228,12 +249,14 @@ properties:
|
|
|
228
249
|
Empty directories are not saved to `archive-dir`.
|
|
229
250
|
To remove empty source directories after a successful move operation, also set `remove_empty_directories` to `true`.
|
|
230
251
|
When using `remove_empty_directories`, empty directory removal examination starts at the `srcbase` and proceeds down any subdirectories.
|
|
231
|
-
If no `srcbase` is used and a file path (as opposed to a directory path) is specified,
|
|
252
|
+
If no `srcbase` is used and a file path (as opposed to a directory path) is specified,
|
|
253
|
+
then only the immediate parent directory is examined and removed if it is empty following the move of the source file.
|
|
232
254
|
type: string
|
|
233
255
|
x-agents:
|
|
234
256
|
- direct
|
|
235
|
-
- node
|
|
236
257
|
- transferd
|
|
258
|
+
- node
|
|
259
|
+
x-cli-option: true
|
|
237
260
|
multi_session:
|
|
238
261
|
description: >-
|
|
239
262
|
Use multi-session transfer. max 128.
|
|
@@ -246,15 +269,16 @@ properties:
|
|
|
246
269
|
x-cli-special: true
|
|
247
270
|
multi_session_threshold:
|
|
248
271
|
description: >-
|
|
249
|
-
Split files across multiple ascp sessions if their size in bytes is greater than
|
|
272
|
+
Split files across multiple `ascp` sessions if their size in bytes is greater than
|
|
250
273
|
or equal to the specified value.
|
|
251
274
|
|
|
252
275
|
(0=no file is split)
|
|
253
276
|
type: integer
|
|
254
277
|
x-agents:
|
|
255
278
|
- direct
|
|
256
|
-
- node
|
|
257
279
|
- transferd
|
|
280
|
+
- node
|
|
281
|
+
x-cli-option: true
|
|
258
282
|
overwrite:
|
|
259
283
|
description: >-
|
|
260
284
|
Overwrite files at the destination with source files of the same name based
|
|
@@ -297,12 +321,14 @@ properties:
|
|
|
297
321
|
|
|
298
322
|
`full_checksum` : The source and destination files are compared based on full checksums
|
|
299
323
|
default: diff
|
|
324
|
+
type: string
|
|
300
325
|
enum:
|
|
301
326
|
- never
|
|
302
327
|
- always
|
|
303
328
|
- diff
|
|
304
329
|
- older
|
|
305
330
|
- diff+older
|
|
331
|
+
x-cli-option: true
|
|
306
332
|
password:
|
|
307
333
|
description: >-
|
|
308
334
|
Password for local Windows user when transfer user associated with node API user is not
|
|
@@ -328,9 +354,11 @@ properties:
|
|
|
328
354
|
|
|
329
355
|
Because source access times are updated by the transfer operation,
|
|
330
356
|
the timestamp that is preserved is the one just before to the transfer.
|
|
357
|
+
type: boolean
|
|
331
358
|
x-cli-switch: true
|
|
332
359
|
preserve_acls:
|
|
333
360
|
description: Preserve access control lists.
|
|
361
|
+
type: string
|
|
334
362
|
enum:
|
|
335
363
|
- none
|
|
336
364
|
- native
|
|
@@ -339,36 +367,40 @@ properties:
|
|
|
339
367
|
x-agents:
|
|
340
368
|
- direct
|
|
341
369
|
- transferd
|
|
370
|
+
x-cli-option: true
|
|
342
371
|
preserve_creation_time:
|
|
343
372
|
description: >-
|
|
344
373
|
Preserve source-file creation timestamps at the destination.
|
|
345
374
|
|
|
346
375
|
Only Windows systems retain information about creation time.
|
|
347
376
|
If the destination is not a Windows computer, this option is ignored.
|
|
377
|
+
type: boolean
|
|
348
378
|
x-cli-switch: true
|
|
349
379
|
preserve_extended_attrs:
|
|
350
380
|
description: Preserve the extended attributes.
|
|
381
|
+
type: string
|
|
351
382
|
enum:
|
|
352
383
|
- none
|
|
353
384
|
- native
|
|
354
385
|
- metafile
|
|
355
386
|
default: none
|
|
356
387
|
x-agents:
|
|
388
|
+
- direct
|
|
357
389
|
- transferd
|
|
358
390
|
x-cli-option: --preserve-xattrs
|
|
359
391
|
preserve_file_owner_gid:
|
|
360
392
|
description: Preserve the group ID for a file owner.
|
|
361
393
|
type: boolean
|
|
362
394
|
x-agents:
|
|
363
|
-
- transferd
|
|
364
395
|
- direct
|
|
396
|
+
- transferd
|
|
365
397
|
x-cli-switch: true
|
|
366
398
|
preserve_file_owner_uid:
|
|
367
399
|
description: Preserve the user ID for a file owner.
|
|
368
400
|
type: boolean
|
|
369
401
|
x-agents:
|
|
370
|
-
- transferd
|
|
371
402
|
- direct
|
|
403
|
+
- transferd
|
|
372
404
|
x-cli-switch: true
|
|
373
405
|
preserve_modification_time:
|
|
374
406
|
description: >-
|
|
@@ -376,43 +408,46 @@ properties:
|
|
|
376
408
|
of a transferred file to the modification of the source file or directory.
|
|
377
409
|
|
|
378
410
|
Preserve source-file modification timestamps at the destination.
|
|
411
|
+
type: boolean
|
|
379
412
|
x-cli-switch: true
|
|
380
413
|
preserve_remote_acls:
|
|
381
414
|
description: Preserve remote access control lists.
|
|
415
|
+
type: string
|
|
382
416
|
enum:
|
|
383
417
|
- none
|
|
384
418
|
- native
|
|
385
419
|
- metafile
|
|
386
420
|
default: none
|
|
387
421
|
x-agents:
|
|
388
|
-
- transferd
|
|
389
422
|
- direct
|
|
423
|
+
- transferd
|
|
390
424
|
x-cli-option: --remote-preserve-acls
|
|
391
425
|
preserve_remote_extended_attrs:
|
|
392
426
|
description: Preserve remote extended attributes.
|
|
427
|
+
type: string
|
|
393
428
|
enum:
|
|
394
429
|
- none
|
|
395
430
|
- native
|
|
396
431
|
- metafile
|
|
397
432
|
default: none
|
|
398
433
|
x-agents:
|
|
399
|
-
- transferd
|
|
400
434
|
- direct
|
|
435
|
+
- transferd
|
|
401
436
|
x-cli-option: --remote-preserve-xattrs
|
|
402
437
|
preserve_source_access_time:
|
|
403
438
|
description: Preserve the time logged for when the source file was accessed.
|
|
404
439
|
type: boolean
|
|
405
440
|
x-agents:
|
|
406
|
-
- transferd
|
|
407
441
|
- direct
|
|
442
|
+
- transferd
|
|
408
443
|
x-cli-switch: true
|
|
409
444
|
preserve_times:
|
|
410
445
|
description: Preserve file timestamps.
|
|
411
446
|
type: boolean
|
|
412
447
|
x-agents:
|
|
448
|
+
- direct
|
|
413
449
|
- transferd
|
|
414
450
|
- node
|
|
415
|
-
- direct
|
|
416
451
|
x-cli-option: -p
|
|
417
452
|
rate_policy:
|
|
418
453
|
description: >-
|
|
@@ -429,6 +464,7 @@ properties:
|
|
|
429
464
|
Do not share bandwidth.
|
|
430
465
|
Aspera recommends that you do not use this setting except under special circumstances,
|
|
431
466
|
otherwise the destination storage can be damaged.
|
|
467
|
+
type: string
|
|
432
468
|
enum:
|
|
433
469
|
- low
|
|
434
470
|
- fair
|
|
@@ -442,28 +478,31 @@ properties:
|
|
|
442
478
|
- transferd
|
|
443
479
|
remote_host:
|
|
444
480
|
description: IP or fully qualified domain name (FQDN) of the remote server.
|
|
481
|
+
type: string
|
|
445
482
|
x-cli-option: --host
|
|
446
483
|
remote_password:
|
|
447
484
|
description: SSH session password.
|
|
485
|
+
type: string
|
|
448
486
|
x-cli-envvar: ASPERA_SCP_PASS
|
|
449
487
|
remote_user:
|
|
450
488
|
description: Remote user. Default value is `xfer` on node or connect.
|
|
489
|
+
type: string
|
|
451
490
|
x-cli-option: --user
|
|
452
491
|
remove_after_transfer:
|
|
453
492
|
description: Remove SRC files after transfer success.
|
|
454
493
|
type: boolean
|
|
455
494
|
x-agents:
|
|
456
495
|
- direct
|
|
457
|
-
- node
|
|
458
496
|
- transferd
|
|
497
|
+
- node
|
|
459
498
|
x-cli-switch: true
|
|
460
499
|
remove_empty_directories:
|
|
461
500
|
description: Specifies whether to remove empty directories.
|
|
462
501
|
type: boolean
|
|
463
502
|
x-agents:
|
|
464
503
|
- direct
|
|
465
|
-
- node
|
|
466
504
|
- transferd
|
|
505
|
+
- node
|
|
467
506
|
x-cli-switch: true
|
|
468
507
|
remove_empty_source_dir:
|
|
469
508
|
description: Remove empty source subdirectories and remove the source directory itself, if empty.
|
|
@@ -483,8 +522,8 @@ properties:
|
|
|
483
522
|
type: boolean
|
|
484
523
|
x-agents:
|
|
485
524
|
- direct
|
|
486
|
-
- connect
|
|
487
525
|
- node
|
|
526
|
+
- connect
|
|
488
527
|
x-cli-switch: true
|
|
489
528
|
proxy:
|
|
490
529
|
description: >-
|
|
@@ -495,9 +534,11 @@ properties:
|
|
|
495
534
|
Default ports for DNAT and DNATS protocols are 9091 and 9092.
|
|
496
535
|
|
|
497
536
|
Password, if specified here, overrides the value of environment variable `ASPERA_PROXY_PASS`.
|
|
537
|
+
type: string
|
|
498
538
|
x-agents:
|
|
499
539
|
- direct
|
|
500
540
|
- noded
|
|
541
|
+
x-cli-option: true
|
|
501
542
|
resume_policy:
|
|
502
543
|
description: >-
|
|
503
544
|
If a transfer is interrupted or fails to finish,
|
|
@@ -514,6 +555,7 @@ properties:
|
|
|
514
555
|
|
|
515
556
|
Note: transferd uses values: `attributes`, `sparse_checksum`, `full_checksum`.
|
|
516
557
|
default: faspmgr:none;other:sparse_csum
|
|
558
|
+
type: string
|
|
517
559
|
enum:
|
|
518
560
|
- none
|
|
519
561
|
- attrs
|
|
@@ -526,8 +568,8 @@ properties:
|
|
|
526
568
|
sparse_csum: 2
|
|
527
569
|
full_csum: 3
|
|
528
570
|
retry_duration:
|
|
529
|
-
description: Specifies how long to wait before retrying transfer (e.g. `5min`).
|
|
530
571
|
$comment: "TODO: check this."
|
|
572
|
+
description: Specifies how long to wait before retrying transfer (e.g. `5min`).
|
|
531
573
|
type:
|
|
532
574
|
- integer
|
|
533
575
|
- string
|
|
@@ -542,17 +584,18 @@ properties:
|
|
|
542
584
|
before writing the new file.
|
|
543
585
|
|
|
544
586
|
File attributes are maintained in the renamed file.
|
|
587
|
+
type: boolean
|
|
545
588
|
x-cli-switch: true
|
|
546
589
|
x-agents:
|
|
547
590
|
- direct
|
|
548
|
-
- node
|
|
549
591
|
- transferd
|
|
592
|
+
- node
|
|
550
593
|
skip_duplicate_check:
|
|
551
594
|
description: Don't check for duplicate files at the destination.
|
|
552
595
|
type: boolean
|
|
553
596
|
x-agents:
|
|
554
|
-
- transferd
|
|
555
597
|
- direct
|
|
598
|
+
- transferd
|
|
556
599
|
x-cli-option: --skip-dir-traversal-dupes
|
|
557
600
|
x-cli-switch: true
|
|
558
601
|
skip_special_files:
|
|
@@ -562,14 +605,15 @@ properties:
|
|
|
562
605
|
If `true`, `ascp` skips special assets and proceeds with the transfer of all other assets.
|
|
563
606
|
type: boolean
|
|
564
607
|
x-agents:
|
|
565
|
-
- transferd
|
|
566
608
|
- direct
|
|
609
|
+
- transferd
|
|
567
610
|
x-cli-switch: true
|
|
568
611
|
source_root:
|
|
569
612
|
description: >-
|
|
570
613
|
Path to be prepended to each source path.
|
|
571
614
|
|
|
572
615
|
This is either a conventional path or it can be a URI but only if there is no root defined.
|
|
616
|
+
type: string
|
|
573
617
|
x-cli-option: --source-prefix64
|
|
574
618
|
x-cli-convert: base64
|
|
575
619
|
source_root_id:
|
|
@@ -587,18 +631,19 @@ properties:
|
|
|
587
631
|
The remaining portion of the source path is kept intact at the destination.
|
|
588
632
|
|
|
589
633
|
Special care must be taken when used with cloud storage.
|
|
634
|
+
type: string
|
|
590
635
|
x-agents:
|
|
591
636
|
- direct
|
|
592
|
-
- node
|
|
593
637
|
- transferd
|
|
638
|
+
- node
|
|
594
639
|
x-cli-option: --src-base64
|
|
595
640
|
x-cli-convert: base64
|
|
596
641
|
src_base64:
|
|
597
642
|
description: The folder name below which the directory structure is preserved (base64 encoded).
|
|
598
643
|
type: string
|
|
599
644
|
x-agents:
|
|
600
|
-
- transferd
|
|
601
645
|
- direct
|
|
646
|
+
- transferd
|
|
602
647
|
x-cli-option: --src-base64
|
|
603
648
|
ssh_port:
|
|
604
649
|
description: Specifies SSH (TCP) port.
|
|
@@ -612,6 +657,7 @@ properties:
|
|
|
612
657
|
Shall look like: -----BEGIN RSA PRIV4TE KEY-----\nMII...
|
|
613
658
|
|
|
614
659
|
Note the JSON encoding: \n for newlines.
|
|
660
|
+
type: string
|
|
615
661
|
x-agents:
|
|
616
662
|
- direct
|
|
617
663
|
- transferd
|
|
@@ -620,24 +666,30 @@ properties:
|
|
|
620
666
|
description: The passphrase associated with the transfer user's SSH private key. Available as of 3.7.2.
|
|
621
667
|
type: string
|
|
622
668
|
x-agents:
|
|
623
|
-
- transferd
|
|
624
669
|
- direct
|
|
670
|
+
- transferd
|
|
625
671
|
x-cli-envvar: ASPERA_SCP_PASS
|
|
626
672
|
ssh_private_key_path:
|
|
627
673
|
description: Path to private key for SSH.
|
|
628
674
|
type: string
|
|
629
675
|
x-agents:
|
|
630
|
-
- transferd
|
|
631
676
|
- direct
|
|
677
|
+
- transferd
|
|
632
678
|
x-cli-option: -i
|
|
633
679
|
ssh_args:
|
|
634
|
-
|
|
680
|
+
$comment: "TODO: Generate multiple options and place as in comment (after -i , before user/host)"
|
|
681
|
+
description: >-
|
|
682
|
+
Add arguments to the command-line arguments passed to the external ssh program (implies -SSH).
|
|
683
|
+
The arguments are inserted before any key file(s) supplied to `ascp` and before the user/host arguments.
|
|
635
684
|
type: array
|
|
636
685
|
x-agents:
|
|
686
|
+
- direct
|
|
637
687
|
- transferd
|
|
638
|
-
x-cli-option: --ssh-
|
|
688
|
+
x-cli-option: --ssh-arg
|
|
689
|
+
x-cli-special: true
|
|
639
690
|
symlink_policy:
|
|
640
691
|
description: Handle source side symbolic links.
|
|
692
|
+
type: string
|
|
641
693
|
enum:
|
|
642
694
|
- follow
|
|
643
695
|
- copy
|
|
@@ -660,16 +712,17 @@ properties:
|
|
|
660
712
|
Key `aspera.xfer_retry` specifies a retry timeout for node API initiated transfers.
|
|
661
713
|
type: string
|
|
662
714
|
x-agents:
|
|
663
|
-
- transferd
|
|
664
715
|
- direct
|
|
716
|
+
- transferd
|
|
717
|
+
x-cli-option: true
|
|
665
718
|
target_rate_cap_kbps:
|
|
666
719
|
description: >-
|
|
667
720
|
Maximum target rate for incoming transfers, in kilobits per second.
|
|
668
721
|
Returned by upload/download_setup node API.
|
|
669
722
|
type: integer
|
|
670
723
|
x-agents:
|
|
671
|
-
- connect
|
|
672
724
|
- transferd
|
|
725
|
+
- connect
|
|
673
726
|
target_rate_kbps:
|
|
674
727
|
description: Specifies desired speed for the transfer.
|
|
675
728
|
type: integer
|
|
@@ -683,28 +736,35 @@ properties:
|
|
|
683
736
|
- transferd
|
|
684
737
|
token:
|
|
685
738
|
description: "Authorization token. Type: Bearer, Basic or ATM. (Also arg -W)"
|
|
739
|
+
type: string
|
|
686
740
|
x-cli-envvar: ASPERA_SCP_TOKEN
|
|
687
741
|
use_ascp4:
|
|
688
|
-
description: Specify version of protocol. Do not use ascp4
|
|
742
|
+
description: Specify version of protocol. Do not use `ascp4`.
|
|
689
743
|
type: boolean
|
|
690
744
|
default: false
|
|
691
745
|
x-agents:
|
|
692
746
|
- direct
|
|
693
|
-
- node
|
|
694
747
|
- transferd
|
|
748
|
+
- node
|
|
695
749
|
x-cli-special: true
|
|
696
750
|
use_system_ssh:
|
|
697
|
-
description:
|
|
751
|
+
description: >-
|
|
752
|
+
Use an external ssh program instead of the built-in libssh2 implementation to establish
|
|
753
|
+
the connection to the remote host.
|
|
754
|
+
The desired ssh program must be in the environment's PATH.
|
|
755
|
+
|
|
756
|
+
To enable debugging of the ssh process, supply `-DD` and `--ssh-arg=-vv` arguments to `ascp`.
|
|
698
757
|
type: string
|
|
699
758
|
x-agents:
|
|
700
|
-
- transferd
|
|
701
759
|
- direct
|
|
760
|
+
- transferd
|
|
702
761
|
x-cli-option: -SSH
|
|
703
762
|
keepalive:
|
|
704
763
|
description: The session is running in persistent session mode.
|
|
764
|
+
type: boolean
|
|
705
765
|
x-agents:
|
|
706
|
-
- transferd
|
|
707
766
|
- direct
|
|
767
|
+
- transferd
|
|
708
768
|
x-cli-switch: true
|
|
709
769
|
dgram_size:
|
|
710
770
|
description: UDP datagram size in bytes.
|
|
@@ -717,13 +777,17 @@ properties:
|
|
|
717
777
|
x-cli-option: -m
|
|
718
778
|
sshfp:
|
|
719
779
|
description: Check it against server SSH host key fingerprint.
|
|
780
|
+
type: string
|
|
720
781
|
x-cli-option: --check-sshfp
|
|
721
782
|
target_rate_percentage:
|
|
722
|
-
|
|
783
|
+
$comment: "TODO: Remove ?"
|
|
784
|
+
description: "n/a"
|
|
785
|
+
type: string
|
|
723
786
|
x-agents: []
|
|
724
787
|
rate_policy_allowed:
|
|
725
788
|
description: Specifies most aggressive rate policy that is allowed.
|
|
726
789
|
Returned by node API.
|
|
790
|
+
type: string
|
|
727
791
|
enum:
|
|
728
792
|
- low
|
|
729
793
|
- fair
|
|
@@ -733,13 +797,27 @@ properties:
|
|
|
733
797
|
- connect
|
|
734
798
|
fasp_url:
|
|
735
799
|
description: Only used in Faspex.
|
|
800
|
+
type: string
|
|
736
801
|
x-agents: []
|
|
737
802
|
authentication:
|
|
738
803
|
description: Set to `token` for SSH bypass keys, else password asked if not provided.
|
|
804
|
+
type: string
|
|
739
805
|
x-agents:
|
|
740
806
|
- connect
|
|
741
807
|
cipher_allowed:
|
|
742
808
|
description: Returned by node API. Valid literals include `aes-128` and `none`.
|
|
809
|
+
type: string
|
|
810
|
+
enum:
|
|
811
|
+
- none
|
|
812
|
+
- aes-128
|
|
813
|
+
- aes-192
|
|
814
|
+
- aes-256
|
|
815
|
+
- aes-128-cfb
|
|
816
|
+
- aes-192-cfb
|
|
817
|
+
- aes-256-cfb
|
|
818
|
+
- aes-128-gcm
|
|
819
|
+
- aes-192-gcm
|
|
820
|
+
- aes-256-gcm
|
|
743
821
|
x-agents:
|
|
744
822
|
- connect
|
|
745
823
|
obfuscate_file_names:
|
|
@@ -750,21 +828,24 @@ properties:
|
|
|
750
828
|
wss_enabled:
|
|
751
829
|
description: Server has Web Socket service enabled.
|
|
752
830
|
type: boolean
|
|
831
|
+
x-cli-option: --ws-connect
|
|
832
|
+
x-cli-switch: true
|
|
753
833
|
x-cli-special: true
|
|
754
834
|
wss_port:
|
|
755
|
-
description: TCP port used for
|
|
835
|
+
description: TCP port used for Web Socket service feed.
|
|
756
836
|
type: integer
|
|
757
837
|
x-cli-special: true
|
|
758
838
|
compression:
|
|
759
|
-
description: ascp4 only
|
|
839
|
+
description: ascp4 only.
|
|
840
|
+
$comment: "0 / 1?"
|
|
760
841
|
type: integer
|
|
761
842
|
x-agents: []
|
|
762
843
|
read_threads:
|
|
763
|
-
description: ascp4 only
|
|
844
|
+
description: ascp4 only.
|
|
764
845
|
type: integer
|
|
765
846
|
x-agents: []
|
|
766
847
|
write_threads:
|
|
767
|
-
description: ascp4 only
|
|
848
|
+
description: ascp4 only.
|
|
768
849
|
type: integer
|
|
769
850
|
x-agents: []
|
|
770
851
|
xfer_max_retries:
|