Re: [PHP] File Upload and ftp transfer problem

2003-03-27 Thread Hugh Danaher
fp); $destination_file="./directory/".$photo2; $upload = ftp_fput($conn_id, $destination_file, $fp, FTP_BINARY); // check upload status if (!$upload) { print "FTP upload has failed!"; } // close the FTP stream //@ftp_close($conn_id); ftp_quit($conn_id); } php?> - Ori

Re: [PHP] File Upload and ftp transfer problem

2003-03-27 Thread Hugh Danaher
Thanks Jason, I'll try that, and let you know the results. Hugh - Original Message - From: "Jason Wong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 27, 2003 11:48 AM Subject: Re: [PHP] File Upload and ftp transfer problem > On Fr

Re: [PHP] File Upload and ftp transfer problem

2003-03-27 Thread Jason Wong
On Friday 28 March 2003 03:16, Hugh Danaher wrote: > I'm trying to get the following script to ftp transfer an uploaded image > file so as to get around a file permission problem. The upload portion of > this works without problem, the ftp portion doesn't spit out any errors > either, but the file

[PHP] File Upload and ftp transfer problem

2003-03-27 Thread Hugh Danaher
I'm trying to get the following script to ftp transfer an uploaded image file so as to get around a file permission problem. The upload portion of this works without problem, the ftp portion doesn't spit out any errors either, but the file transfered is just the name of the uploaded temp file a