<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Copy activity SFTP is triggering twice on file create event in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Copy-activity-SFTP-is-triggering-twice-on-file-create-event/m-p/4751065#M10570</link>
    <description>&lt;P&gt;A trigger that is set to trigger when a file is created in the Lakehouse triggers twice&amp;nbsp; when the file is create with Copy SFTP activity. What would be needed to have trigger fire once? Note, uploading a file works as expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 02 Jul 2025 14:02:42 GMT</pubDate>
    <dc:creator>P_work</dc:creator>
    <dc:date>2025-07-02T14:02:42Z</dc:date>
    <item>
      <title>Copy activity SFTP is triggering twice on file create event</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Copy-activity-SFTP-is-triggering-twice-on-file-create-event/m-p/4751065#M10570</link>
      <description>&lt;P&gt;A trigger that is set to trigger when a file is created in the Lakehouse triggers twice&amp;nbsp; when the file is create with Copy SFTP activity. What would be needed to have trigger fire once? Note, uploading a file works as expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jul 2025 14:02:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Copy-activity-SFTP-is-triggering-twice-on-file-create-event/m-p/4751065#M10570</guid>
      <dc:creator>P_work</dc:creator>
      <dc:date>2025-07-02T14:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: Copy activity SFTP is triggering twice on file create event</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Copy-activity-SFTP-is-triggering-twice-on-file-create-event/m-p/4752237#M10606</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1286298" data-lia-user-login="P_work" class="lia-mention lia-mention-user"&gt;P_work&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thank you for reaching out to Microsoft Fabric Community.&lt;/P&gt;
&lt;P&gt;Your trigger fires twice because the Copy activity creates temp files first, then renames them. each counts as a "file created" event.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Set the trigger to fire only on final files by:&lt;/P&gt;
&lt;P&gt;1. Filtering by file extension (e.g., .csv, not .tmp)&lt;/P&gt;
&lt;P&gt;OR&lt;/P&gt;
&lt;P&gt;2. Copy to a staging folder, then move the completed file to the monitored folder.&lt;/P&gt;
&lt;P&gt;This ensures the trigger fires only once per actual file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;If this post&amp;nbsp;helps, then please consider&amp;nbsp;Accepting as solution&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jul 2025 12:25:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Copy-activity-SFTP-is-triggering-twice-on-file-create-event/m-p/4752237#M10606</guid>
      <dc:creator>v-venuppu</dc:creator>
      <dc:date>2025-07-03T12:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: Copy activity SFTP is triggering twice on file create event</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Copy-activity-SFTP-is-triggering-twice-on-file-create-event/m-p/4752273#M10608</link>
      <description>&lt;P&gt;I will try the solutions, as the staging folder sounds feasible. However, the event details of the trigger show the subject to be the filename duplicated, not a .tmp file.&amp;nbsp; Option 2 still holds promise.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jul 2025 13:16:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Copy-activity-SFTP-is-triggering-twice-on-file-create-event/m-p/4752273#M10608</guid>
      <dc:creator>P_work</dc:creator>
      <dc:date>2025-07-03T13:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: Copy activity SFTP is triggering twice on file create event</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Copy-activity-SFTP-is-triggering-twice-on-file-create-event/m-p/4752924#M10629</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1286298" data-lia-user-login="P_work" class="lia-mention lia-mention-user"&gt;P_work&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;Thank you for your Response. Please let us know if you have any further issues?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jul 2025 05:16:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Copy-activity-SFTP-is-triggering-twice-on-file-create-event/m-p/4752924#M10629</guid>
      <dc:creator>v-venuppu</dc:creator>
      <dc:date>2025-07-04T05:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: Copy activity SFTP is triggering twice on file create event</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Copy-activity-SFTP-is-triggering-twice-on-file-create-event/m-p/4754910#M10677</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1286298" data-lia-user-login="P_work" class="lia-mention lia-mention-user"&gt;P_work&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;May I ask if you have resolved this issue? Please let us know if you have any further issues, we are happy to help.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jul 2025 09:10:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Copy-activity-SFTP-is-triggering-twice-on-file-create-event/m-p/4754910#M10677</guid>
      <dc:creator>v-venuppu</dc:creator>
      <dc:date>2025-07-07T09:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: Copy activity SFTP is triggering twice on file create event</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Copy-activity-SFTP-is-triggering-twice-on-file-create-event/m-p/4755316#M10689</link>
      <description>&lt;P&gt;Option 2 worked as expected.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jul 2025 12:22:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Copy-activity-SFTP-is-triggering-twice-on-file-create-event/m-p/4755316#M10689</guid>
      <dc:creator>P_work</dc:creator>
      <dc:date>2025-07-07T12:22:05Z</dc:date>
    </item>
  </channel>
</rss>

