The ftplib module

ftplib is a module in Python that provides all the functionality needed to perform various actions over the FTP protocol. ftplib contains the FTP client class, as well as some helper functions. Using this module, we can easily connect to an FTP server to retrieve multiple files and process them. By importing theĀ ftplib module, we can use all the functionality it provides.

In this section, we are going to cover how to do FTP transfers by using theĀ ftplib module. We are going see various FTP objects.