I have a fairly large site that is using Safecracker File for quite a few fields. Some of the entries have files that get updated each month. The issue is that "removing" a file from an entry does not delete and replace the file on the server so if you are trying to attach a file with the same filename as the file already uploaded, the new file will get renamed by EE on upload.
That's usually not a problem, but the client has a case where they do not want the filename to change because they want to share a direct link to the file with their team - and they don't want to have to reshare the link each time the entry is updated.
For example, this month they share a link to "Marketing-Presentation.ppt" file
Then next month when it's updated, the client uploads the new file... but the new file has a 1 appended to the filename... so the new link is the one below but the link shared last month no longer links to the latest version of the file.
Here's what I'm thinking so far...
- Is there a file fieldtype that will delete and replace the existing file rather than just upload and rename?
- Perhaps the best way to solve this is to give the client another way to share direct download links that do not contain the file name.
I'd like to hear your insights on either of those approaches or something else I'm not thinking about.