MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / login

Method login

tools/python-3.11.9-amd64/Lib/ftplib.py:743–746  ·  view source on GitHub ↗
(self, user='', passwd='', acct='', secure=True)

Source from the content-addressed store, hash-verified

741 timeout, source_address, encoding=encoding)
742
743 def login(self, user='', passwd='', acct='', secure=True):
744 if secure and not isinstance(self.sock, ssl.SSLSocket):
745 self.auth()
746 return super().login(user, passwd, acct)
747
748 def auth(self):
749 '''Set up secure control connection by using TLS/SSL.'''

Callers

nothing calls this directly

Calls 2

authMethod · 0.95
loginMethod · 0.45

Tested by

no test coverage detected