I had this problem too. Try this:
for host name make sure it's just the host name no protocol prefix:
if it still isn't working try adding the port number:
also try adding your web root directory at the end of hostname:
I think there is an obscure bug in the ftp connection code I actually had to edit files and enable verbose errors;
//$this->ftp->Verbose = true;
so that it's just:
$this->ftp->Verbose = true;
got another error, "Incorrect port syntax"
I finally tracked down the problem to this file:
for some reason this function was being passed the port number as string versus an int or long causing it to be caught by this if statement, which just stops the connection process.
I added this above line 272:
$port = (int) $port;
This solved my ftp install issues, I upgraded to 2.7.1 , which now seems to work without my modification.
Note: I only got connection type FTP working, FTPS (SSL) and SSH did not work at all, from looking in the code it doesn't seem that there's anything in there that actually tries to use those connection methods (I may be wrong, I just didn't find it)
Has anyone else been able to use the FTPS or SSH connection type?