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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Unable to Delete files...
Power Automate
Unanswered

Unable to Delete files in FTP using *.*

(0) ShareShare
ReportReport
Posted on 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.

Categories:
I have the same question (0)
  • Red Hodgerson Profile Picture
    Microsoft Employee on at

    Hi Vrchandran,

     

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

  • vrchandran Profile Picture
    18 on at

    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?

  • vrchandran Profile Picture
    18 on at

    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 at

    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 at

    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 at

    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?

  • kjetilkl Profile Picture
    2 on at

    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.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 468

#2
Haque Profile Picture

Haque 370

#3
Valantis Profile Picture

Valantis 354

Last 30 days Overall leaderboard