code: private AFTPClient actionListDir() throws PageException, IOException {
  	required("name", name);
  	required("directory", directory);
  
  	AFTPClient client = getClient();
  	FTPFile[] files = client.listFiles(directory);
  	if (files == null) files = new FTPFile[0];
  
  	pageContext.setVariable(name, toQuery(files, "ftp", directory, client.getRemoteAddress().getHostName()));
  	writeCfftp(client);
  	return client;
      }
docs: List data of a ftp connection
  
  @return FTPCLient
  @throws PageException
  @throws IOException