kosa8 docs

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

FlagTypeWhat it doesDefault
--putboola link to upload (PUT) rather than download—
--ttldurationhow 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)"