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 Automate
Unanswered

Delete File over SFTP

(0) ShareShare
ReportReport
Posted on by

I have a fairly simple flow. It fetches a new file that appears in the SFTP directory and then copies it to SharePoint. This part work as expected, however, I want to remove this file from SFTP server after copying to SharePoint is done. I appended one step to my flow, SFTP Delete file:

flowflow

 

Once it is executed, it executes all steps but the last one. It's greyed out and nothing happens on the SFTP side. Flow status is running but nothing gets removed from SFTP. In Delete File parameters File I tried to pass the file path and file ID (from step one). Both don't work. Any hints how to move on?

resultresult

Categories:
I have the same question (0)
  • TYL Profile Picture
    1,091 Super User 2024 Season 2 on at

    @MarioOntario  Hi Maria, did you check the option ''Skip delete if file not found" ? If you did, this may be the cause of the gray box. It might have skipped the deletion of your file because it couldn't find the SFTP file. 

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
David_MA Profile Picture

David_MA 245 Super User 2025 Season 2

#2
Expiscornovus Profile Picture

Expiscornovus 207 Most Valuable Professional

#3
trice602 Profile Picture

trice602 185 Super User 2025 Season 2

Last 30 days Overall leaderboard