I have a project where I need to remove non empty folders from an ftp server. I have tried with ftp.rmdir()
, but I got an error message stating
Folder is not empty
I then tried just moving the directory with the ftp.rename()
method, but I got the same error message there.
Does anyone know a good way to do this?