PROTOCOL EXPLORERHOW THE INTERNET TALKS

OSI 

Protocols

Protocol overview

PACKET FLOW

NO.TIMESOURCEDESTINATIONPROTOCOLINFOSIZE
Try it hands-on: build a network and watch real ARP, DNS, DHCP and ICMP packets in the Network Lab.

How FTP works

FTP uses two connections: a control connection for commands and a separate data connection for each file. It sends passwords in clear text - use SFTP or FTPS instead.

Layer: Application (OSI layer 7) · Port: 21 (+ data port) · Transport: TCP · Format: Text control + binary data · Standard: RFC 959

FTP packet flow

  1. FTP Client → Web Server: USER anonymous / PASS ****
  2. FTP Web Server → Client: 230 Login successful
  3. FTP Client → Web Server: PASV
  4. FTP Web Server → Client: 227 Entering Passive Mode (…,195,80)
  5. FTP Client → Web Server: RETR report.pdf (data connection :50000)
  6. FTP-DATA Web Server → Client: File bytes 1-1460 …

Other protocols: HTTP · WebSocket · QUIC · SMTP · IMAP · POP3 · SMB · WebRTC · SIP · RTSP · RTMP · MQTT · Modbus · PPPoE