Delete DIR with libCurl - FTP Manager

Hello everyone!

I’m implementing FTP in my system using the FTP Manager from our friend Mike Duglas.

Everything seems to be working fine.

But when I try to delete a directory, I get an error.

I’ve tried to fix it but haven’t been able to.

Does anyone have a solution?

The error message is below.

Thanks everyone.

Log libCurl:

. . . . 
HEADER_OUT: LIST
HEADER_IN: 150 Opening ASCII mode data connection for file list
TEXT: Maxdownload = -1
TEXT: abort upload
TEXT: Remembering we are in dir "www/usuarios/ftp/Ana_Lara_Cristo-00272/"
HEADER_IN: 226 Transfer complete
TEXT: Connection #0 to host ftp.softjep.com left intact
TEXT: Re-using existing connection with host ftp.softjep.com
HEADER_OUT: DELE /www/usuarios/ftp/Ana_Lara_Cristo-00272
HEADER_IN: 550 /www/usuarios/ftp/Ana_Lara_Cristo-00272: Is a directory
TEXT: QUOT command failed with 550
TEXT: shutting down connection #0

I did some research and it might be that the command to delete an empty directory needs to be
ftp .... -Q RMD dirToDelete
But I don’t know how to implement that in Mike’s code.