Oops, the error you are getting has nothing to do with your login information. Your host isn't connecting to Google. This part of the script was written previous to my updates so I am not too familiar with the requirements for the ftp_connect() functions used in the script. Try contacting your host.
Also, could you please time the length it takes to return the "connection failed".
The script uses the default timeout of 90 seconds.
Try changing the code on line 366 and 368 from:
PHP Code:
if($ssl)
$cd = ftp_ssl_connect($url);
else
$cd = ftp_connect($url);
to:
PHP Code:
if($ssl)
$cd = ftp_ssl_connect($url, 21, 120); // port 21: timeout: 120 seconds
else
$cd = ftp_connect($url, 21, 120);