note 27659 added to function.ftp-put

From: Date: Sat, 14 Dec 2002 20:09:22 +0000
Subject: note 27659 added to function.ftp-put
Groups: php.notes 
Request: Send a blank email to php-notes+get-40908@lists.php.net to get a copy of this message
I have also error ftp_put() expects parameter 4 to be long with this code: $fmode = "FTP_ASCII"; ftp_put($conn,$rem_file,$loc_file,$fmode); it was working a few months OK, but after 12.12. it produce mentioned error and no file transfer. Than i change this line to: ftp_put($conn,$rem_file,$loc_file,FTP_ASCII); and all works again well. I am using Linux + Apache + PHP 4.2.3 API (build date Dec 13 2002 13:01:20) -- http://www.php.net/manual/en/function.ftp-put.php http://master.php.net/manage/user-notes.php?action=edit+27659 http://master.php.net/manage/user-notes.php?action=delete+27659 http://master.php.net/manage/user-notes.php?action=reject+27659

« previous php.notes (#40908) next »