question

SHIV-5358 avatar image
0 Votes"
SHIV-5358 asked KranthiPakala-MSFT answered

Copy most recent file only from one blob to another using Azure Data Factory

I am trying to copy the most recent file from the set of files with format "filename_yyyymmdd" from one container to another using ADF. I want a single file to be copied from those set of file.

How we can achive this ?

azure-data-factoryazure-blob-storage
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @SHIV-5358,


Following up to see if any of the below solutions were helpful? In case If you already found a solution, would you please share it here with the community? Otherwise, let us know and we will continue to engage with you on the issue. Please do consider to click on "Accept Answer" and "Up-vote" on the post that helps you, as it can be beneficial to other community members

0 Votes 0 ·
NandanHegde-7720 avatar image
0 Votes"
NandanHegde-7720 answered

Hey @Shiv-5358,

https://stackoverflow.com/questions/66014144/copy-most-recent-file-only-from-one-blob-to-another-using-azure-data-factory

You can refer this link,

Its a combination of Getmetedata activity and copy activity

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SumanthMarigowda-MSFT avatar image
0 Votes"
SumanthMarigowda-MSFT answered

@SHIV-5358 Welcome to Microsoft Q&A Platform. Thanks for posting the query.

Adding more information to above suggestion, You can also use different tools: CLI, Azcopy & Azure Storage explorer

Copy and transform data in Azure Blob storage by using Azure Data Factory

I would recommended to use the azcopy tool in your scenario.

There are several options for transferring data to and from Azure, depending on your needs. Please refer to this article

Hope this helps!

Kindly let us know if the above helps or you need further assistance on this issue.


Please don’t forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

KranthiPakala-MSFT avatar image
0 Votes"
KranthiPakala-MSFT answered

Hi @@SHIV-5358,

You can find the implementation using ADF here : https://docs.microsoft.com/en-us/answers/questions/349584/adf-copy-last-modified-blob.html

Hope this helps.



Please don’t forget to Accept Answer and Up-Vote wherever the information provided helps you, this can be beneficial to other community members.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.