Login to another box on network server to retrieve file

From: Date: Fri, 19 Dec 2003 20:38:14 +0000
Subject: Login to another box on network server to retrieve file
Groups: php.general 
Request: Send a blank email to php-general+get-173033@lists.php.net to get a copy of this message
Stumped am I. I need to ftp to another box on my network... $ftp_server = "doohickey"; $ftp_user = "root"; $ftp_pass = "roots_pass"; // connect to ftp server $ftpc = ftp_connect($ftp_server); if(!ftp_login($ftpc, $ftp_user, $ftp_pass)){ echo "Could not login to $ftp_server !\n"; exit(); } and it throws this error PHP Warning: ftp_login(): Login incorrect. in /usr/home/jblanchard/commcode_repair/commCodeRepair.php on line 35 Could not login to doohickey ! Now, when I go manually to that server I am already root, so it does not ask for a user name, just a password. Can anyone kick me towards an answer on this fine Friday afternoon? TIA & Hoppy Halidays!

« previous php.general (#173033) next »