[ftputil] ftputil question
Stefan Schwarzer
sschwarzer at sschwarzer.net
Sat Aug 26 18:06:33 CEST 2006
Hi Vedran,
On 2006-08-26 16:34, vedran500 wrote:
> I just have one question.Have ftputil SSL or other protections
ftputil has no built-in SSL support. On the other hand, you can
use M2Crypto [1] which has a class derived from ftplib.FTP that
supports SSL. You then can use this class (not an object of it)
as a "session factory" in ftputil.FTPHost's constructor. See [2]
and [3] for similar code.
[1] http://sandbox.rulemaker.net/ngps/m2/ ; in the archive, look
for the file M2Crypto/ftpslib.py
[2] http://ftputil.sschwarzer.net/trac/wiki/Documentation#connecting-on-another-port
[3] http://ftputil.sschwarzer.net/trac/wiki/Documentation#using-active-or-passive-connections
HTH :)
Stefan
P.S.: Note to myself: Include the question and answer in the FAQ. :-)
More information about the ftputil
mailing list