Question: why ftp uses 2 ports?
Answer: FTP uses two TCP connections for communication. One to pass control information, and is not used to send files on port 21, only control information. And the other, a data connection on port 20 to send the data files between the client and the server.