Change name of Temp File in ADF Copy Activity

MK 26 Reputation points

I am using ADF to copy some files from blob to SFTP. I copy a single file at a time. The output filename is the same as the input file. I am using the option "Upload with temp file" set to true. Hence, ADF adds a suffix to the file while uploading and the name appears something like this while upload happens - "File1.co1.0b5d55ed4ebd4112bfa60e10f972c28d".
Finally, when the file is uploaded it renames the file to the original file which is File1.co1.

All, this is fine and works fine.
However, I wanted that the intermediate temp file that is getting created - can I influence the name of the temp file in any manner instead of azure giving something of a random string?
Ideally, I would want the temp file to "File1.co1_sending" - is that possible?

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

Accepted answer
  1. KranthiPakala-MSFT 46,432 Reputation points Microsoft Employee

    Hello @MK ,

    Thanks for the question and using MS Q&A platform.

    It is not possible to modify/influence the temp file name. It is autogenerated by ADF using the current pipeline runID for the temp file name (the naming rule is adding runid in the file name) and then do a rename operation to finish the copy.

    As a user we do not have a control over it. It is by current design.

    But if you have any feedback/feature request regarding this, I recommend logging your feedback in IDEAS forum here: All the feedback shared in this forum are actively monitored and reviewed by respective product owners.

    Once you have logged the feedback, please do share the URL here so that we can also up-vote/comment on it. Sharing it here also helps community to up-vote/comment and share additional feedbacks, which would help prioritize the request accordingly.

    Hope this info helps.


    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    0 comments No comments

0 additional answers

Sort by: Most helpful