Analyzing FTP problems
File Transfer Protocol (FTP) is a protocol created for transferring files over TCP/IP across a network. FTP is a protocol that runs over TCP ports 20
and 21
for the data and control connections (FTP commands) respectively.
FTP has two modes of operation:
Active mode (ACTV): In this mode, the client initiates a control connection to the server, and the server initiates a data connection to the client
Passive mode (PASV): In this mode, the client initiates the control and data connections to the server
Both types of connections can be implemented, and they will be explained later in this recipe in the How it works... section.
Getting ready
When working with FTP, if you suspect any connectivity or slow response problems, configure port mirror to one of the following:
The FTP server port
The client port
A link that the traffic crosses
If required, configure a capture or display filter.
How to do it...
To check FTP performance problems, follow these steps:
First, check for any Ethernet...