RE: [PHP] Where is the mistace? Warning: ftp_put(): 'STOR ' not understood.

From: Date: Thu, 15 Jan 2004 20:24:18 +0000
Subject: RE: [PHP] Where is the mistace? Warning: ftp_put(): 'STOR ' not understood.
Groups: php.general 
Request: Send a blank email to php-general+get-174698@lists.php.net to get a copy of this message
[snip] $mode = FTP_BINARY; $picuploadname = $picupload[$i]; $piclocalname = "../pictures/".$piclocal[$i]; ftp_put($conn_ftp,$picuploadname ,$piclocalname ,$mode); [/snip] You cannot put FTP_BINARY into a variable, it then becomes a string instead of a function directive. Cahnge to this and see if it works; ftp_put($conn_ftp,$picuploadname ,$piclocalname , FTP_BINARY);

« previous php.general (#174698) next »