Deletes the specified directory dir on the remote system. Most FTP servers would not allow the deletion of a directory unless it is empty. It is the responsibility of the clients to delete the children of the directory before attempting to delete a directory.
Parameters:
dir - Directory to delete.
Throws:
FTPException
ConnectionException