note 27659 deleted from function.ftp-put by betz

From: Date: Wed, 05 Feb 2003 11:12:56 +0000
Subject: note 27659 deleted from function.ftp-put by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-43450@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)

« previous php.notes (#43450) next »