Skip to main content
Community site session details

Community site session details

Session Id : Rx7Bc98Y7robbxQzQnVxE0
Power Automate - Building Flows
Unanswered

Unable to Delete files in FTP using *.*

Like (0) ShareShare
ReportReport
Posted on 13 Jun 2021 16:14:16 by 18

Folks, my problem might have been solved. When I try to delete all the files in a folder using delete files with FTP connection, it throws an error File not found. In the same directory instead of using *.*, if I use exact name of the file, it of course deletes it. I migrated from WinAutomation to Power automate. Power automate uses the term delete "Files" (Note plural) in FTP, so I assumed *.* will delete all the files, or a combination of files if I user the name like, myfiles*.xlsx etc. I am stuck. Thanks.

  • kjetilkl Profile Picture
    2 on 11 May 2022 at 13:49:54
    Re: Unable to Delete files in FTP using *.*

    From my sparse knowledge of Power Automate i am pretty sure you have to read the files into an array and then run the delete command against that.

  • vrchandran Profile Picture
    18 on 19 Mar 2022 at 14:25:16
    Re: Unable to Delete files in FTP using *.*

    Hey guys,

    So now another 3 months passed. Just came here to check out anybody else having this problem. Apparently not. Anyway let me post my problem from June 13, 2021: I am unable to delete a directory using FTP connection in Power Automate. Anybody found any solution?

  • vrchandran Profile Picture
    18 on 26 Dec 2021 at 19:55:24
    Re: Unable to Delete files in FTP using *.*

    Hey Red,

    There are two problems. One delete folder doesn't work in FTP

    Delete files doesn't work in FTP

    In both cases, when I use filezilla, no problem, anything and everything was deleted as directed.

    Therefore it is not the problem with the FTP site itself. Certainly a problem with Power Automate. Even after 1 year nobody seems to solve this basic problem.

  • vrchandran Profile Picture
    18 on 22 Jun 2021 at 16:47:39
    Re: Unable to Delete files in FTP using *.*

    Apparently power automate can not delete files when you use all inclusive file name like *.*?

    That would be very surprising.

  • vrchandran Profile Picture
    18 on 22 Jun 2021 at 16:13:46
    Re: Unable to Delete files in FTP using *.*

    Apparently power automate can not delete files when you use all inclusive file name like *.*?

    That would be very surprising.

  • vrchandran Profile Picture
    18 on 19 Jun 2021 at 12:12:27
    Re: Unable to Delete files in FTP using *.*

    Hi Red2,

    My problem was not resolved. Using *.* to delete all files in power automate doesn't work? It works in Winautomation. But there is no more support for winautomation, so I switch to power automate. It ssems you can't delete files all files using *.*. Am I missing something?

  • Red Hodgerson Profile Picture
    Microsoft Employee on 15 Jun 2021 at 13:57:43
    Re: Unable to Delete files in FTP using *.*

    Hi Vrchandran,

     

    I'm a bit confused.  Were you able to resolve your issue?

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

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Loading complete