Sopamo / laravel-filepond

Laravel backend module for filepond uploads
MIT License
204 stars 54 forks source link

Some fixes and new feature #73

Open allanmcarvalho opened 1 year ago

allanmcarvalho commented 1 year ago
allanmcarvalho commented 1 year ago

More details: When delete method of controller is called, dirname function previous was deleting the whole filepond folder for chunked files uploads. Now the method check if the folder path to be deleted is the same of filepond, so it presume that the target file is a chucked file. On this behavior we get the file folder id and delete it on chunk folder (if exists) and the file. For standard uploads nothing diferent is done.

In garbage collector the method doGarbageCollector in controller is called in upload start when the percentage of chance is hit. It check if that upload is older than the limit and then delete the file and its folders.

Sopamo commented 1 year ago

Thanks for your contribution! I'm currently on vacation, but I will have a look at your PR once I'm back.

zulfikar-ditya commented 1 year ago

@Sopamo Any updates? or you are still in your vocation

2btechdev2 commented 5 months ago

I think He is on permanent vacation. I am forking this and publishing this package. Along with Opened PR Merged. (Copy Pastin code 😁)

@zulfikar-ditya @allanmcarvalho

2btechdev2 commented 5 months ago

https://github.com/kha333n/laravel-filepond

zulfikar-ditya commented 4 months ago

@2btechdev2 There is nothing we can do. 😄