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;
    }
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 ; }
removes a remote directory on server

@return FTPCLient
@throws IOException
@throws PageException