cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
vrchandran
Frequent Visitor

Unable to Delete files in FTP using *.*

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.

7 REPLIES 7
Red2
Microsoft
Microsoft

Hi Vrchandran,

 

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

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?

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

That would be very surprising.

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

That would be very surprising.

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
Frequent Visitor

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?

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.

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Users online (2,855)