FTP.set_debuglevel (level) Set the instance’s debugging level. This controls the amount of debugging output printed. The default ... FTP.set_pasv (val) Enable “passive” mode if val is true, otherwise disable passive mode. (In Python 2.0 and before, passiv