I've read various posts similar to my issue, but none identical.
I need to regularly update a file with the same name (a page calling it is looking for a particular file name). When a new one is uploaded, it doesn't overwrite the old one; it is the original filename_timestamp. This causes the prior file to have to be manually deleted first, which isn't very convenient. I just want an existing file automatically overwritten if a new one is uploaded with the same filename.
I saw some code in another thread about checking if the file exists, but I'm not sure where that check should take place. Hoping there is a setting somewhere that will do this automatically. Any help would be greatly appreciated!