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!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,395)