Auto rename files with same filename but different extension Auto rename files with same filename but different extension
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Auto rename files with same filename but different extension

Started by NevilleX, October 22, 2006, 11:44:57 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

NevilleX

I would like to have an option to auto rename files with same filename but different extension while uploading.
For example if there is a file in the gallery called 004.jpg and I want to upload file called 004.mov, I would like to auto rename 004.mov to 004~1.mov.
Just like when it comes to uploading same files with same extenstion (eg. if we have 004.jpg and uploading new file with same filename, it gets renamed to 004~1.jpg)
I hope this is possible, I have tried to make code changes myself but don't have enough knowledge to do that.
I sincerely hope someone can help me with this.