def getAllFtpConnections(self):
outputMsg = "<STR_LIT>"<EOL>counter = <NUM_LIT:1><EOL>for k in self.ftpList:<EOL><INDENT>outputMsg += str(counter) + "<STR_LIT>" + k + "<STR_LIT:U+0020>"<EOL>outputMsg += str(self.ftpList[k]) + "<STR_LIT:\n>"<EOL>counter += <NUM_LIT:1><EOL><DEDENT>if self.printOutput:<EOL><INDENT>logger.info(outputMsg)<EOL><DEDENT>return self.ftpList<EOL>
Returns a dictionary containing active ftp connections.