Automating Data Transfer from Blob Storage to Azure File Share

Khaled Mohsen 20 Reputation points
2025-02-26T18:55:37.6333333+00:00

Hello,

I have recently migrated my on-premises file server to an Azure File Share. However, I am facing an issue where a recording tool using an SFTP client is only able to upload files to Azure Blob Storage.

I need a solution to automatically move the uploaded data from Blob Storage to Azure File Share. Could you please provide guidance on the best approach for this, such as using Azure Logic Apps, Azure Functions, or another recommended method?

Thank you for your support.

Best regards,
Khaled Mohsen

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
3,101 questions
{count} votes

Accepted answer
  1. Keshavulu Dasari 3,790 Reputation points Microsoft Vendor
    2025-02-26T19:49:39.79+00:00

    Hi Khaled Mohsen ,

    Moving data from Azure Blob Storage to Azure File Share can be efficiently handled using several Azure services. I Suggest few approaches you can consider,

    Azure Logic Apps can automate workflows and integrate various services. You can create a Logic App that triggers when a new file is uploaded to Blob Storage and then copies it to the Azure File Share. This approach is straightforward and requires minimal coding.

    Azure Functions can be used to create serverless functions that respond to events. You can set up an Azure Function to trigger when a new blob is created in Blob Storage. The function can then copy the file to the Azure File Share using the Azure Storage SDK

    Example: Using Azure Functions, for more details, please refer to the document below.
    Azure Blob storage trigger for Azure Functions
    Azure Blob storage bindings for Azure Functions

    Overview of how you can set up an Azure Function to move files:

    Create an Azure Function, Set up a new function in the Azure portal. And Use a Blob Storage trigger to start the function when a new file is uploaded. And Write code to copy the file from Blob Storage to Azure File Share using the Azure Storage SDK. And deploy the function and test it to ensure it works as expected.

    AzCopy is a command-line utility designed for copying data to and from Azure Storage. You can schedule AzCopy commands using Azure Automation or Azure Container Instances to periodically sync data from Blob Storage to Azure File Share , For more details, please refer to the document below.

    Copy or move data to Azure Storage by using AzCopy v10
    Transfer data to or from Azure Files by using AzCopy v10

    Steps for Using AzCopy with Azure Automation,

    Create an Azure Automation Account. And import the necessary modules from the gallery. Create a PowerShell Runbook that uses AzCopy to transfer files. And Schedule the Runbook to run at your desired intervals.

    Azure Data Factory is a data integration service that can orchestrate data movement and transformation. You can create a pipeline that moves data from Blob Storage to Azure File Share on a schedule or in response to events. For more details, please refer to the document below.
    Move files between file-based storage
    Copy and transform data in Azure Blob Storage

    Each of these methods has its own advantages, so you can choose the one that best fits your needs and technical comfort level.


    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.            User's image

    If you have any other questions or are still running into more issues, let me know in the "comments" and I would be happy to help you.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.