Skip to main content

saucectl storage upload

Uploads an app file to Sauce Storage and returns a unique file ID assigned to the app. Sauce Storage supports app files in .apk, .aab, .ipa, or .zip format.

Usage

$ saucectl storage upload filename [flags]

Available Options

FlagShorthandDescription
--forceForces the upload to happen, even if there's already a file in storage with a matching checksum.
--out-oOutput format to the console. Options are text (default) and json.
--region-rThe Sauce Labs region. Options are us-west-1 (default) and eu-central-1.

Options Details

--force

| OPTIONAL | BOOLEAN |

Forces the upload to happen, even if there's already a file in storage with a matching checksum.

saucectl storage upload app.apk --force

--out

| OPTIONAL | STRING |

Output format to the console. Options are text (default) and json.

Shorthand: -o <format>

saucectl storage upload app.apk --out json

--region

| OPTIONAL | STRING |

The Sauce Labs region. Options are us-west-1 (default) and eu-central-1.

Shorthand: -r <region>

saucectl storage upload app.apk --region us-west-1