In this section, we will review the ftplib module of the Python standard library, which provides us with the necessary methods to create FTP clients quickly and easily.
Connecting with FTP servers
The File Transfer Protocol (FTP)
FTP is a protocol that’s used to transfer data from one system to another and uses Transmission Control Protocol (TCP) port 21, which allows clients and servers connected in the same network to exchange files. The protocol design is defined in such a way that it is not necessary for the client and server to run on the same platform; any client and any FTP server can use a different operating system and use the primitives and commands defined in the protocol to transfer files.
The protocol is...