Hello,
I have a php script that connects to a ftp and uploads a file… But if the file exists, it doesn’t delete it…
So i added
//Check if logged
if (@ftp_login($conn_id, $ftpuser, $ftppass)) {
//Check if file exist
if (file_exists($destfile)) {
unlink($destfile);
}}
But it didn’t change anything… so what’s the problem??
TiA