def getAllFtpConnections(self):
        """
        Returns a dictionary containing active ftp connections.
        """
        outputMsg = "Current ftp connections:\n"
        counter = 1
        for k in self.ftpList:
            outputMsg += str(counter) + ". " + k + " "
            outputMsg += str(self.ftpList[k]) + "\n"
            counter += 1
        if self.printOutput:
            logger.info(outputMsg)
        return self.ftpList
def getAllFtpConnections ( self ) : outputMsg = "Current ftp connections:\n" counter = 1 for k in self . ftpList : outputMsg += str ( counter ) + ". " + k + " " outputMsg += str ( self . ftpList [ k ] ) + "\n" counter += 1 if self . printOutput : logger . info ( outputMsg ) return self . ftpList
Returns a dictionary containing active ftp connections.