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?

vrchandran
Frequent Visitor

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

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

That would be very surprising.

vrchandran
Frequent Visitor

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

That would be very surprising.

vrchandran
Frequent Visitor

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
Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (2,327)