The TCP port normally used for FTP connection is port 21. Most of the cases the cause for FTP time out is :
1.Your firewall or Internet supplier blocks this port
2.Your FTP client is NOT fixed to use Passive mode.
To prevent FTP timeout :
a. you can utilize Passive mode with your FTP client.
b. If the problem continues, you must run a check of the link between your computer and the port 21.
c. If there is a difficulty with the connectivity you must try deactivate your local firewall,
d. If the problem continues, you should contact your Internet Service Provider
For information on how to check whether your FTP port 21 is blocked, you can refer to this article.