This module comes very close to the functionality I am looking for. However, what if I want to replace the existing file with a file that has a new name. An example would be a version update. User wants to replace "myfile_v1.zip" with "myfile_v1.1.zip". Sure, they can just remove the old file and upload the new file. However, if you are using a module like Download Count to keep track of downloads, this is problematic because the download count is cleared. Or, if you have any links or scripts that depend on file ID this can cause problems.
Would it be possible to add a button for Update, in addition to the Remove button created by filefield and have the Update button do both functions: replace existing file with file of same name without renaming or replace existing file with file of new name?
In both cases, this should be done without changing FID or clearing download count
Comments
Comment #1
philbar commentedI'm wanting this feature as well.
I need to replace a half a dozen pdf files on my site. It would be nice to have a module that provided a simple workflow for this so I don't have to upload the new files then create a redirect from the old file to the new.
Comment #2
elijah lynn#1468098: Preserve file name and FID (field ID) is mentioning a similar issue in the name of download count.