February 2006
Intermediate to advanced
648 pages
14h 53m
English
The ftplib module is used to implement the client side of the FTP protocol. It’s rarely necessary to use this module directly because the urllib and urllib2 modules provide a higher-level interface. However, this module may still be useful if you want to have more control over the low-level details of an FTP connection. In order to use this module, it may be helpful to know some of the details of the FTP protocol, which is described in Internet RFC 959.
A single class is defined for establishing an FTP connection:
FTP([host [, user, passwd]])
Creates an object representing an FTP connection. host is a string specifying a hostname. user and passwd optionally specify a username and password. If used, both arguments must be supplied together. ...
Read now
Unlock full access