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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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.