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 : hf7f3+788vWufmvGdxRWwR
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

I have the same question (0)
  • 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Tom Macfarlan – Community Spotlight

We are honored to recognize Tom Macfarlan as our Community Spotlight for October…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 707 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 499 Moderator

#3
chiaraalina Profile Picture

chiaraalina 312

Last 30 days Overall leaderboard

Featured topics

Restore a deleted flow