forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: NevilleX on October 22, 2006, 11:44:57 am

Title: Auto rename files with same filename but different extension
Post by: NevilleX on October 22, 2006, 11:44:57 am
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.