Sanaa
Sanaa

Reputation: 33

Copy one file at a time from one container to another using azure data factory v2

I am trying to copy one file from one container to another another in a storage account. the scenario i implemented works fine for a single file. but for multiple files, it is copying both of them in one copy activity. i want the file to be moved one at a time and after a single copy to provide a delay of 1 min, then proceed with the next file copy.

i created a pipeline with the move File template but it did not work for multiple files. i have taken the source and sink dataset as csv datasets and not binary. i will not be aware of the pattern or the names of the files.

when a user input say about 10 files, i want to copy it one at a time and also provide a delay between each copy. this has to happen between 2 storage account containers.

i have tried to use move files template too. but it did not work for multiple. Please help me.

Upvotes: 3

Views: 1395

Answers (1)

Andrii
Andrii

Reputation: 646

Sanaa, to force a sequential processing, check the "Sequential" checkbox: enter image description here

Time delay could be achieved by adding "Wait" action: enter image description here

Upvotes: 3

Related Questions