Lines Matching defs:connect
8 >>> ftp = FTP('ftp.python.org') # connect to host, default port
87 Then use self.connect() with optional host and port argument.
114 Optional arguments are host (for connect()),
121 self.connect(host)
139 def connect(self, host='', port=0, timeout=-999, source_address=None):
141 - host: hostname to connect to (string, default previous host)
142 - port: port to connect to (integer, default previous port)
157 sys.audit("ftplib.connect", self, self.host, self.port)
167 (this is read and squirreled away by connect())'''
341 passive, send a pasv command, connect to it, and start the