az-storage-blob Verified for current stable LTS

Az Storage Blob Command: Upload Local File To Blob

Use for upload local file to blob with Az Storage Blob. Exact CLI syntax to upload local file to blob using Az Storage Blob.

When to use this: Use for upload local file to blob with Az Storage Blob.

Command Syntax

az storage blob upload --account-name <account_name> --account-key <account_key> -c <container_name> -n <blob_name> -f <path/to/file>

Command Breakdown

--account-name
Command Option
Tool-specific option used by this command invocation.
--account-key
Command Option
Tool-specific option used by this command invocation.
-c
Command Option
Tool-specific option used by this command invocation.
-n
Command Option
Tool-specific option used by this command invocation.
-f
Command Option
Tool-specific option used by this command invocation.

FAQ

Purpose: Exact syntax to upload local file to blob using Az Storage Blob.

Test path: Replace placeholders and run destructive commands in a disposable workspace first.

Flag behavior: Tool version, platform, and shell can change behavior.

Improve This Command

Suggest a correction, safer default, or version-specific note for this entry.

Related Operations

Back to Az Storage Blob directory