note 10093 rejected and deleted from ftp_put by zak

From: Date: Wed, 13 Dec 2000 05:05:27 +0000
Subject: note 10093 rejected and deleted from ftp_put by zak
Groups: php.notes 
Request: Send a blank email to php-notes+get-8670@lists.php.net to get a copy of this message
$m_result = ftp_connect($m_server,21) or die ("Failed"); $m_connect = ftp_login($m_result,$m_username,$m_password) or die("Failed"); ftp_chdir($m_result,$m_path); ftp_put($m_result, $uploadfile_name, $uploadfile,FTP_BINARY); ftp_quit($m_result); ====================================================================== When I run the above PHPscript, the following error displayed: "ftp_put: Can't build data connection: Connection refused" Note: OS=Win2000 Prof. WebServer=Apache 1.3.9 & IIS5 (test) PHP=4.0.3pl1

« previous php.notes (#8670) next »