[PHP] FTP_PUT 0kb problem

2004-12-11 Thread jpb
I am using the FTP_PUT command in conjunction with a form: upload.php: Everything seems to work except the put statement. $upload = ftp_put($conn_id, $destination_file, $_POST[imagefile], FTP_BINARY); I am connecting to the server and it is replacing the old image file with a 0 kb file. Per

Re: [PHP] FTP_PUT 0kb problem

2004-12-11 Thread Marek Kilimajer
jpb wrote: I am using the FTP_PUT command in conjunction with a form: upload.php: Everything seems to work except the put statement. $upload = ftp_put($conn_id, $destination_file, $_POST[imagefile], FTP_BINARY); I am connecting to the server and it is replacing the old image file with a 0 kb fil