Results 1 to 2 of 2
Oct 10, 2007, 00:04 #1
Problems connecting using ftp_connect
I seem to have hit an issue, which I assume to be quite common if using ftp_connect.
Basically I have a x2 1&1 servers where I have written a script to regularly retrieve files from one server to the other.
I am basically using the same script as shown on php.net (click here).
Anyway the problem is I am trying to connect using an IP reference such as:
$conn_id = ftp_connect('000.000.000.000');
Why does is not seem to like the username/password of the main server account to which I can SSH or FTP from using the command line, but accept the virtual host values?
In case your wondering I can't use a vhost account to solve this as it means I cannot go above the root of the vhost which is where the files are?
Oct 10, 2007, 10:48 #2