web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Filter out file extens...
Power Automate
Answered

Filter out file extension when a file is created on FTP

(0) ShareShare
ReportReport
Posted on by 35

I have a flow setup to copy files from a sharepoint location to a ftp.   I want to only copy files with a .csv extension and exclude files with a .raw extension but I'm having trouble getting the flow to work.   Here's my basic flow

 

CopyFlowftp2.PNG

Categories:
I have the same question (0)
  • Verified answer
    Expiscornovus Profile Picture
    33,867 Most Valuable Professional on at

    Hi @cfnwfwmd,

     

    If you only want to copy csv files I would use a trigger condition in the settings and check if the content-type field equals text/csv.

     

    In the settings of your first action you could add the following trigger condition

    @equals(triggerOutputs()?['headers/Content-Type'], 'text/csv')

    textcsv_triggercondition.png

  • cfnwfwmd Profile Picture
    35 on at

    Perfect!  Thank you! 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 470

#2
Haque Profile Picture

Haque 416

#3
David_MA Profile Picture

David_MA 344 Super User 2026 Season 1

Last 30 days Overall leaderboard