I get permission to reject messages when I try to upload a file:
Warning: ftp_put() [function.ftp-put]: Can't open that file: Permission denied in /home/kirby/public_html/members/upload_advanced.php on line 48
The file already exists, how to enable ftp_put () to overwrite it.
In addition, here is the download code:
$upload = ftp_put($conn_id, "www/logos/web_".$row[username].".jpg",
"../logos/web_" . $row[username] . ".jpg", FTP_BINARY);
source
share