Commands / kosa8 cloud files link
kosa8 cloud files link
A presigned URL for one download (or --put upload) of PATH, straight to the host
Usage
kosa8 cloud files link ID PATH
Options
| Flag | Type | What it does | Default |
|---|---|---|---|
--put | bool | a link to upload (PUT) rather than download | — |
--ttl | duration | how long the link works (default and most: 5m) | 0s |
Example
curl -fsSL "$(kosa8 cloud files link sbx_abc /workspace/out.tgz)" -o out.tgz curl -T big.bin "$(kosa8 cloud files link sbx_abc /workspace/big.bin --put)"