Deleting files on Filezilla very slow compared to hosting

I have noticed that when deleting a folder on Filezilla it can take a very long time if the folder has subfolders with many files, example I deleted a .git repository / folder and it took Filezilla 15 minutes.

However, with a hosting account and their FTP manager you can delete a folder and it is immediately removed including all files and sub folders.

Why the difference. Is there a setting for Filezilla that can speed this up.


Solution 1:

As per this thread: https://forum.filezilla-project.org/viewtopic.php?t=6186, it seems it is because Filezilla can only delete a folder if it is empty, so it has to delete each file one-by-one first, rather than just deleting the folder all at once.