Name

login

Synopsis

                        f.login(user='anonymous',passwd='')

Logs in to the FTP server. When user is 'anonymous' and passwd is '', login determines the real user and host and sends user @ host as the password, as normal anonymous FTP conventions require. Call once per instance of f, as the first method call on f after connecting.

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.