Search in sources :

Example 1 with FTPConnection

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;
}
Also used : AFTPClient(lucee.runtime.net.ftp.AFTPClient) FTPConnection(lucee.runtime.net.ftp.FTPConnection) Struct(lucee.runtime.type.Struct)

Aggregations

AFTPClient (lucee.runtime.net.ftp.AFTPClient)1 FTPConnection (lucee.runtime.net.ftp.FTPConnection)1 Struct (lucee.runtime.type.Struct)1