Unable to open a connection to the ftp host <host>

This error has the following cause and solution: