use of lucee.runtime.net.ftp.FTPConnection in project Lucee by lucee.
the class Ftp method actionClose.
/**
* close a existing ftp connection
* @return FTPCLient
* @throws PageException
*/
private AFTPClient actionClose() throws PageException {
FTPConnection conn = _createConnection();
AFTPClient client = pool.remove(conn);
Struct cfftp = writeCfftp(client);
cfftp.setEL("succeeded", Caster.toBoolean(client != null));
return client;
}
Aggregations