Reputation: 25
Problem: I get an email with a zip file. In that zip are two files. I want to extract one of those files and place it in a folder in ADL.
I've automated this before using logic apps but the zip and extra file is throwing a wrench in the gears here. So far I've managed to get a logic app going to download the zip into a blob container and another logic app to extract the files to another container. Don't know how to proceed from there. Should I be using data factory? I want this automated and to run every week every time I receive an email from a specific sender.
Upvotes: 1
Views: 812
Reputation: 14080
Update:
I am sorry, dont notice your source is ADL, the below steps only need to change the source as ADL is ok. the key is select the Compression type of your source, it will unzip the file for you.
Original Answer:
2.Create a activity.
3.After you create a copy data activity, you need to choose the source and the sink. From your description, you need to unzip a file in a storage container to another container. So, please follow these steps:
And the sink is similar, also choose the azure storage blob and choose the same linked service. Select the container that you want to copy to.
4.Then let's Validate all. If there is no problem, we can publish them.
6.After that, your zip file will successful unzip and copy to another container.:)
Upvotes: 1