As portas 20 e 21 são as portas de controle. Uma nova porta (semi-aleatória) é aberta para transferir dados.
Editar: Explicação um pouco mais longa.
Client (wget) Server with FTPd
FTPd listening at port 21
Open connection to port 21
220 Hello, who are you?
send username
send plain text password
230 Ok. Access granted.
cd gnu/tar/
250 Ok. (new dir is gnu/tar/)
PORT 192,168,1,109,1234
(aka, please send answers to 192.168.1.109 on PORT 1234.
Usually this is a random port in the range <1024-65536>
Ports below 1024 are priveledge ports, and thus excluded.
Max port number is 65535 (16 bit value)
)
List SERVER connects from port 20
to 192.168.1.109 port 1234
Server sends data