Connecting with FTP servers
So, let's begin. In this first section, you'll learn about FTP and how to use ftplib
to connect with FTP servers, transferring files and implementing a brute-force process to get FTP user credentials.
FTP is a cleartext protocol that's used to transfer data from one system to another and uses Transmission Control Protocol (TCP) on port 21
, which allows the exchange of files between client and server. For example, it is a very common protocol for file transfer and is mostly used by people to transfer a file from their PCs to remote servers.
The protocol design architecture is specified in such a way that the client and server need not operate on the same platform. This means any client and any FTP server may use a different operating system to move files using the operations and commands described in the protocol.
The protocol is focused on offering clients and servers an acceptable speed in the transfer of files, but it does not take...