# 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
```

## Flags

| 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)"
```

---
Source: https://docs.kosa8.com/reference/cloud-files-link/
