Two socket connections are necessary for TP to function between the FTP client and the server you are dealing with.
A control connection is one of these connections; text commands are exchanged over this channel.
The data connection is the second link. The real data is transmitted via the link in this manner.
Common FTP Socket Errors:
110011 - Host not Found.
Make sure the IP address or hostname was input accurately by checking.
11004 - Valid name, no data record of the requested type.
This usually means that the FTP server is either incorrect or has not been set.
It is also possible that the connection is blocked by a firewall.
10061 - Connection refused.
The hostname and IP are right, but either the FTP server is not operating or is not listening on the FTP port, or there is a firewall problem.
10093 - Connection failed.
This may occur if the FTP server has gone down or is no longer connected to the network.
10039 - Destination address required.
The connection being blocked by the firewall may possibly be the cause of this. Nevertheless, there can be an issue getting the IP address associated with the hostname. Consider inputting the server/domain name (server.domain.com) if you have already supplied the IP address.
10052 - Network dropped connection on reset.
This usually means that the host to which you were connected restarted or had a crash.
10054 - Connection reset by peer.
The remote host forced the closure of the current connection. This often happens when the host reboots, the peer program on the remote system abruptly stops, or the distant network is somehow deactivated.
10022 - Invalid argument.
Somehow, a false argument was presented. This also describes the socket's present status, which is that it is not listening. It may also indicate that the data transmission is being blocked by a firewall that is operating on the client or host computer.