angular-filemanager icon indicating copy to clipboard operation
angular-filemanager copied to clipboard

Removing failed, the directory you are trying to remove is not empty

Open Legoman99573 opened this issue 9 years ago • 4 comments
trafficstars

I was trying to remove a directory from the server and i get this error. I can delete it locally, but not in the filemanager, anything not right with it because i use it when i am not at the server to edit locally and plan on using it more as it seems more efficient and does what i need, and thanks for this tool and it being lightweight and can make some workaround with the changes. 👍.

2016-11-20_02-46-44

Legoman99573 avatar Nov 20 '16 08:11 Legoman99573

Summarized: it wont delete a folder for some reason if it contains files.

Legoman99573 avatar Nov 20 '16 18:11 Legoman99573

Hi @Legoman99573 which bridge are you using? php(ftp) or php-local?

joni2back avatar Nov 21 '16 19:11 joni2back

php-local

Legoman99573 avatar Nov 21 '16 23:11 Legoman99573

Hi @Legoman99573,

that's expected and wanted behavior. If you want to remove the dir, you need to remove it's content first. This is to prevent the user from accidentally removing files in the dir.

Since there isn't currently any support for dialogs like "This directory is not empty. Would you still like to remove it?", it was the best I could come with.

durasj avatar Apr 23 '17 13:04 durasj