Is there a warning before a public file is replaced? No. No confirmation is asked, also for a public file. More: Versions and history, Replacing a public file