artgris / FileManagerBundle

FileManager is a simple Multilingual File Manager Bundle for Symfony
MIT License
175 stars 90 forks source link

How can i make the uploaded files override the existing ones that have the same name. #17

Closed mramine364 closed 5 years ago

mramine364 commented 6 years ago

Hi, i want to upload files using the bundle artgris/FileManagerBundle and i want the uploaded files override the existing ones that have the same name.

Thank you for your help.

mramine364 commented 6 years ago

I figured out this problem, by overiding the method 'get_file_name' in the class 'Artgris\Bundle\FileManagerBundle\Helpers\UploadHandler'