Would it be possible to add the option to preserve the original filename and FID? Preserving the file name is important if the file has been linked to directly from other websites or from content within the website. Also, preserving the file ID is important if you are using something like Download Count https://drupal.org/project/download_count to keep track of how many times a file has been downloaded. If only a minor correction was made to the file and it needed to be reuploaded, it doesn't make sense to assign a new FID. As far as I know, nothin exists for Drupal. A simply button for "Replace" next to Delete would be great. I can sponsor this if it is within my budget.

Comments

Marvin Daugherty’s picture

Issue summary: View changes

I have this need also.

elijah lynn’s picture

StatusFileSize
new146.71 KB

Looking at the field properties there already exists an 'origname' if anyone wants to work on this.

elijah lynn’s picture

elijah lynn’s picture

StatusFileSize
new125.38 KB

origname

elijah lynn’s picture

#927890: Replace existing file with file of different name is mentioning a similar issue in the name of download count.