Package M2Crypto :: Module ftpslib :: Class FTP_TLS
[frames] | no frames]

Class FTP_TLS




Python OO interface to client-side FTP/TLS.

Instance Methods
 
__init__(self, host=None, ssl_ctx=None)
Initialise the client.
 
auth_tls(self)
Secure the control connection per AUTH TLS, aka AUTH TLS-C.
 
auth_ssl(self)
Secure the control connection per AUTH SSL, aka AUTH TLS-P.
 
prot_p(self)
Set up secure data connection.
 
prot_c(self)
Set up data connection in the clear.
 
ntransfercmd(self, cmd, rest=None)
Initiate a data transfer.

Inherited from ftplib.FTP: abort, acct, close, connect, cwd, debug, delete, dir, getline, getmultiline, getresp, getwelcome, login, makepasv, makeport, mkd, nlst, putcmd, putline, pwd, quit, rename, retrbinary, retrlines, rmd, sanitize, sendcmd, sendeprt, sendport, set_debuglevel, set_pasv, size, storbinary, storlines, transfercmd, voidcmd, voidresp

Class Variables

Inherited from ftplib.FTP: debugging, file, host, passiveserver, port, sock, welcome

Method Details

__init__(self, host=None, ssl_ctx=None)
(Constructor)

 

Initialise the client. If 'host' is supplied, connect to it.

Overrides: ftplib.FTP.__init__

ntransfercmd(self, cmd, rest=None)

 

Initiate a data transfer.

Overrides: ftplib.FTP.ntransfercmd