If i replace the xenfor_logo.png by my own in the server by ftp there is an error in ACP "unexpected content".
Is there a way to do not have this error message ?
Don't overwrite the xenforo_logo.png image. Instead you should upload your own logo to somewhere else on your server and then change the header logo image path. See point 6 of the FAQs: