[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); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php