cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
grobinson
Regular Visitor

Copy a single file from OneDrive to SFTP

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

2 ACCEPTED SOLUTIONS

Accepted Solutions
v-bacao-msft
Community Support
Community Support

 

Hi @grobinson ,

 

Please try the following configuration:

209.PNG

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

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!!

View solution in original post

2 REPLIES 2
v-bacao-msft
Community Support
Community Support

 

Hi @grobinson ,

 

Please try the following configuration:

209.PNG

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

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!!

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Microsoft Ignite 768x460.png

Find your focus

Explore the latest tools,training sessions,technical expertise, networking and more.

Top Solution Authors
Users online (2,967)