How do i read the binary octet stream of a file from Azure Blob into a variable in ADF

Lucky Teckani 20 Reputation points
2023-04-25T09:01:20.9133333+00:00

I have a large zip file that I want to move between Azure blob containers and am looking to read the binary octet stream to be able to copy from source to target. Is it possible with simple configuration?

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,914 questions
0 comments No comments
{count} votes

Accepted answer
  1. KranthiPakala-MSFT 46,432 Reputation points Microsoft Employee
    2023-04-26T20:04:28.78+00:00

    Hi @Lucky Teckani ,

    Welcome to Microsoft Q&A forum and thanks for reaching out here.

    As per my understanding, you would like to know if ADF service can parse binary octet stream of a file (file content). Please correct me if I'm wrong.

    If that is your ask, then the answer is No. ADF service does not parse binary file content.
    This is not possible with simple configuration as it requires custom solution implementation. If you have any custom solution, then you may explore Custom Activity in Azure Data factory.

    But if your requirement is to just copy the binary file from one storage location to another, then you can utilize binary dataset (Binary format) in ADF. You can use Binary dataset in Copy activity. When using Binary dataset, the service does not parse file content but treat it as-is.

    Hope this helps.


    Please don’t forget to Accept Answer and Yes for "was this answer helpful" wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

0 additional answers

Sort by: Most helpful