note 20097 added to function.ftp-put

From: Date: Fri, 22 Mar 2002 06:23:21 +0000
Subject: note 20097 added to function.ftp-put
Groups: php.notes 
Request: Send a blank email to php-notes+get-28066@lists.php.net to get a copy of this message
Getting the error: "Warning: error opening" My code is: $destination_file = $photofile; $conn_id = ftp_connect("localhost"); $login_result = ftp_login($conn_id, $ftp_user_name, $ftp_user_pass); $cd = ftp_chdir ($conn_id, "/public_html/path/to/desired/directory"); $upload = ftp_put($conn_id, $destination_file, $photofile, FTP_BINARY); -- http://www.php.net/manual/en/function.ftp-put.php http://master.php.net/manage/user-notes.php?action=edit+20097 http://master.php.net/manage/user-notes.php?action=delete+20097 http://master.php.net/manage/user-notes.php?action=reject+20097

« previous php.notes (#28066) next »