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

Community site session details

Session Id : Gtmkz9b3gx192MkJjXHTaB
Power Automate - Using Flows
Unanswered

Delete File over SFTP

Like (0) ShareShare
ReportReport
Posted on 19 Jan 2024 15:37:50 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

  • Tjan Profile Picture
    1,087 Super User 2024 Season 2 on 25 Jan 2024 at 10:46:45
    Re: Delete File over SFTP

    @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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Featured topics

Restore a deleted flow
Loading complete