Exactly. An FTP session consists of one continuous control connection and multiple data connections. When the client makes a request of the server that requires a data transfer (such as a directory listing or file download), connection parameters are embedded into the request, like transfer mode, port to which the server should connect, and so on. The FTP server then connects to the client at the specified address and port, and the transfer takes place. This and much, much more is covered in
Originally posted by DMaxJ
Do I need to have a separate socket established to receive data -like the 'ls' command (not system messages)???