This means that your web server gave up waiting for a connection to the FTP server.
Have you enabled passive mode? If not, do so. Active mode (the opposite of passive mode) is not supported on every commercial host I have ever seen. The option for active mode is only present for some rare Intranet servers.
If you are already using passive mode, please make sure that the hostname and port are correct. A small typo (including an invisible one, like a space in front, at the end, or in the middle of the hostname) could cause something like that. The hostname must be just that, a hostname, e.g. ftp.example.com. It must NOT include a protocol, i.e. ftp://user:[email protected]:21 is wrong. Likewise, including a hostname with a port number such as ftp.example.com:21 is also wrong.
Make sure the FTP server is set up to listen to external connections, and that external connections from your server are not filtered out.
Finally, make sure that the server your site is on does allow contacting a remote host over FTP. Don't take it for granted. I have seen quite a few commercial hosts filtering (blocking) these connections, some of them in a way which just leads to a TCP/IP timeout.
Nicholas K. Dionysopoulos
Lead Developer and Director
🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!