note 27375 rejected from function.ftp-put by betz
| From: | betz@php.net | Date: | Wed, 05 Feb 2003 11:11:52 +0000 |
| Subject: | note 27375 rejected from function.ftp-put by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-43449@lists.php.net to get a copy of this message | ||
Hello,
I have following code:
// put file
function put_file($dest, $src) {
if( !ftp_put( $this->con_id, $dest, $src, $this->FTP_MODE ) ) {
echo "Fehler beim Upload";
}
It tells:
Warning: ftp_put() expects parameter 4 to be long, string given in
/home/rcaut/www/intern/library/include/ftp/Ftp.php on line 291
Fehler beim Upload
What is the problem in the code above ?
Kind Regards
Klaus