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 ...

Get Network Analysis Using Wireshark Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.