Python ftplib - any way to shut it up?

Posted by JamieH on Stack Overflow See other posts from Stack Overflow or by JamieH
Published on 2010-06-10T13:12:00Z Indexed on 2010/06/10 13:33 UTC
Read the original article Hit count: 262

Filed under:
|

I am writing a test harness in python and as part of the testing I need to initialise an FTP server and upload various files. I am using ftplib and everything is working ok. The only problem I have is that I am seeing loads of FTP text appearing in the console window intermixed with my test results, which makes scanning the results quite tricky. I haven't found a way to shut ftp lib up and stop this happening, does anyone know how to stop this?

© Stack Overflow or respective owner

Related posts about python

Related posts about ftplib