I'm asking how know if a file already exist in a FTP in PHP.
For example I upload a file like that :
$ftp = ftp_connect(...;
ftp_login($ftp,...);
ftp_put(...);
Before you upload, use the ftp_size function to see if there is a file.
If it returns anything that is not -1, then the file exists.