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
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
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
3 matches
Mail list logo