code: private Struct writeCfftp(AFTPClient client) throws PageException {
  	Struct cfftp = new StructImpl();
  	if (result == null) pageContext.variablesScope().setEL(CFFTP, cfftp);
  	else pageContext.setVariable(result, cfftp);
  	if (client == null) {
  	    cfftp.setEL(SUCCEEDED, Boolean.FALSE);
  	    cfftp.setEL(ERROR_CODE, new Double(-1));
  	    cfftp.setEL(ERROR_TEXT, "");
  	    cfftp.setEL(RETURN_VALUE, "");
  	    return cfftp;
  	}
  
  	int repCode = client.getReplyCode();
  	String repStr = client.getReplyString();
  	cfftp.setEL(ERROR_CODE, new Double(repCode));
  	cfftp.setEL(ERROR_TEXT, repStr);
  
  	cfftp.setEL(SUCCEEDED, Caster.toBoolean(client.isPositiveCompletion()));
  	cfftp.setEL(RETURN_VALUE, repStr);
  	return cfftp;
      }
docs: writes cfftp variable
  
  @param client
  @return FTPCLient
  @throws PageException