Name
connect
Synopsis
f
.connect(host
,port
=21)
Connects to an FTP server on the given
host
and port
.
Call once per instance f
, as
f
’s first method call.
Don’t call if host
was
given on creation.
Get Python in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.