def __init__(self, printOutput=True):
self.ftpList = {}<EOL>if isinstance(printOutput, bool):<EOL><INDENT>self.printOutput = printOutput<EOL><DEDENT>else:<EOL><INDENT>if printOutput == "<STR_LIT:False>":<EOL><INDENT>self.printOutput = False<EOL><DEDENT>else:<EOL><INDENT>self.printOutput = True<EOL><DEDENT><DEDENT>
During library import it is possible to disable logging of server messages.
By default logging is enabled:
| Library | FtpLibrary.py |
To disable logging of server messages, additional parameter must be added to
import:
| Library | FtpLibrary.py | False |