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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Copy a single file fro...
Power Automate
Answered

Copy a single file from OneDrive to SFTP

(0) ShareShare
ReportReport
Posted on by 9

I have it working so I can copy any file that updates in my OneDrive folder, but I only want to copy over a specific file.  I'm not getting errors with what I'm trying, just not working.  I'm using 'When a file is modified' OneDrive for Business and 'Create a file' for SFTP which works great.  When I try and add a Condition specifying the file name it fails.  I'm sure a simple fix, just not familiar enough with the options available to solve for this.  Thanks!

 

Condition.JPG

Categories:
I have the same question (0)
  • Verified answer
    v-bacao-msft Profile Picture
    on at

     

    Hi @grobinson ,

     

    Please try the following configuration:

    209.PNG

     

    Best Regards,

  • Verified answer
    grobinson Profile Picture
    9 on at

    Thank you!  It did not work as you suggested, but I made a small change to your suggestion and it worked.  I changed the condition to 'Name without file extension' and also contains rather than is equal to and then the file name I removed the .xlsx extension.  Could not have solved it without your addition of the 'Get file metadata' so thank you very much!!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard