cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

Rename file in FTP after flow is completed

What steps are needed to rename a file in an FTP, after the flow has moved the file to OneDrive for Business?

 

Step1 - When a file is created or modified in FTP

Step2 - Create file in Onedrive

Step3- rename the original file in the FTP as "completed_FILENAME"

(and/or)

Step4- move that file to subfolder "archive"

 

So far I have Step1&2 working.

 

Would Step3 be best done in parralell with Step2 that creates the file to OneDrive?

 

How do I build Step3 &4?

1 REPLY 1
Community Support Team
Community Support Team

Re: Rename file in FTP after flow is completed

Hi FLowsRg8t,

 

If possible, instead of using step3, please try to add a Condition before step4, and configure the Condition as File Name contains “Completed”. (If all your modified files include “completed” in the file name).


Then after the condition, in the IF YES branch, add an action to remove the file to a subfolder.

 

Please try it on your side and let me know if it works for you.

 

Best regards,
Mabel Mao

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

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 190 members 5,021 guests
Please welcome our newest community members: