Forums / Developer / How to change the md5 filenames in files?

How to change the md5 filenames in files?

Author Message

John Cena

Friday 08 April 2011 2:02:37 am

Hi,

I need change the filenames on the files/images that are being upload. Instead of having a filename like "8824a9402b84cf08650817480e766aec.JPG" I need to store the image with a filename like "01_02_2011__001205_8824a9402b84cf08650817480e766aec.JPG".

I have been searching but I can't find the portion of the code that does this. I don't need to develop a new extension by now. I just need to simple hack the code to do some tests.

What files should I edit to achieve this?

Best Regards,

PS: This is solved, you can delete the post