Author giampaolo.rodola
Recipients giampaolo.rodola, pitrou, varde
Date 2014-12-30.18:12:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1419963138.08.0.147577678613.issue23111@psf.upfronthosting.co.za>
In-reply-to
Content
ssl_version is a class attribute so you can simply set that before instantiating FTP_TLS class:

>>> import ftplib
>>> ftplib.FTP_TLS.ssl_version = ...
>>> client = ftplib.FTP_TLS(...)
>>> ...
History
Date User Action Args
2014-12-30 18:12:18giampaolo.rodolasetrecipients: + giampaolo.rodola, pitrou, varde
2014-12-30 18:12:18giampaolo.rodolasetmessageid: <1419963138.08.0.147577678613.issue23111@psf.upfronthosting.co.za>
2014-12-30 18:12:18giampaolo.rodolalinkissue23111 messages
2014-12-30 18:12:17giampaolo.rodolacreate