Name

FTP

Synopsis

class FTP([host[,user,passwd='']])

Returns an instance f of class FTP. When host is given, implicitly calls f .connect( host ). When user (and optionally passwd) is also given, implicitly calls f .login( user,passwd ) afterward.

Instance f supplies many methods, of which the most frequently used are the following.

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.