---
title: Download from Azure
description: Download files from Azure Blob Storage based on directory and pattern configurations.
category: File Transfers
tags: [azure, download, blob storage, files, automation, cloud]
---

# Download from Azure

## Description

The **Download From Azure** activity connects to an Azure Blob Storage container and downloads files from a specified directory. It allows filtering using regular expressions and provides options to either delete or move files after download for proper post-processing.

This activity is ideal for workflows involving periodic ingestion of cloud-hosted files such as logs, reports, backups, or exported datasets.

> **Use case:** Automatically download `.csv` exports from an `exports/` folder on Azure once per day and move them to an `archive/` folder to prevent reprocessing.

---

## Input

_Not Applicable_

## Output

| Output Type | Format | Description                          |
| ----------- | ------ | ------------------------------------ |
| **Files**   | Binary | One or more files downloaded locally |

---

## Configuration Fields

| Field Name                | Required      | Description                                                                 |
| ------------------------- | ------------- | --------------------------------------------------------------------------- |
| **Connection**            | Yes           | Connection profile for Azure Blob Storage (access key or SAS token-based).  |
| **Working directory**     | Yes           | Directory path (within the container) to search and download files from.    |
| **RegEx**                 | No            | Optional pattern to filter specific files (e.g., `.*\.csv$`).               |
| **Delete after download** | No            | If enabled, removes files from Azure after successful download.             |
| **Move after download**   | No            | If enabled, moves files to another Azure folder after download.             |
| **Move directory**        | Conditionally | Destination directory in Azure (required if "Move after download" is true). |

---

## Sample Input

_Not Applicable_

---

## Sample Configuration

| Field                 | Value                        |
| --------------------- | ---------------------------- |
| Connection            | Azure Blob - Monthly Reports |
| Working directory     | `reports/2025/july`          |
| RegEx                 | `.*\.csv$`                   |
| Delete after download | false                        |
| Move after download   | true                         |
| Move directory        | `reports/2025/july/archived` |

---

## Sample Output

Files downloaded from Azure Blob Storage:

| Remote File Name | File Name       | Size | Status |
| ---------------- | --------------- | ---- | ------ |
| file1.csv        | file1.csv       | 2MB  | Link   |
| report_july.csv  | report_july.csv | 3MB  | Link   |
