'Returns a FTPS connection object.'

def get_conn(self):

    if (self.conn is None):
        params = self.get_connection(self.ftp_conn_id)
        if params.port:
            ftplib.FTP_TLS.port = params.port
        self.conn = ftplib.FTP_TLS(params.host, params.login, params.password)
    return self.conn
