code: private AFTPClient actionRemoveDir() throws IOException, PageException {
  	required("directory", directory);
  
  	AFTPClient client = getClient();
  	if (recursive) {
  	    removeRecursive(client, directory, FTPFile.DIRECTORY_TYPE);
  	}
  	else client.removeDirectory(directory);
  
  	writeCfftp(client);
  	return client;
      }
docs: removes a remote directory on server
  
  @return FTPCLient
  @throws IOException
  @throws PageException