UniSharp/laravel-filemanager

How can i set the upload file by ID only?

iansapipi opened this issue · 3 comments

Sorry if this is annoying question.. how can i config this? if i create data and upload jpg to ID no. 1 and i create again data to ID no. 2 png i want only my upload file in ID no. 1 is only jpg and ID no. 2 is only png? thank you

If you mean by name, i think this could be possible via your own middleware.
If you mean the location, you should read the docs properly. And also look in the config file

I could be very wrong about the middleware thing btw. I'm not very certain about it however i believe there has been an issue in this repo about naming a file after upload before but again i could be mistaken