use file and delete

arkiboys 9,691 Reputation points
2022-01-28T09:57:52.753+00:00

Hello,
How is it possible to read a file and then delete it?
At present I am using a copy activity to get the file name but I do not want to put the file anywhere and so no need for the sink to be set (But sink tab is required in copy activity)
Then I know to use the delete activity but not sure what o do with the sink of the copy activity?
Thank you

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

Accepted answer
  1. Nandan Hegde 32,026 Reputation points MVP
    2022-01-28T10:50:17.267+00:00

    Hey,
    You can use a get meta data activity to get the filename and its details.
    And then use Delete activity to delete that file.

    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.