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 Wireshark Revealed: Essential Skills for IT Professionals now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.