rowanwins / vue-dropzone

A Vue.js component for Dropzone.js - a drag’n’drop file uploads utility with image previews
https://rowanwins.github.io/vue-dropzone/docs/dist
MIT License
2.02k stars 1.4k forks source link

Not getting file uuid on upload file request but getting only on delete file url request #588

Closed abhimanusharma closed 3 years ago

abhimanusharma commented 3 years ago

Hi,

I am changing filename on upload by adding timestamp to the name, so to delete the file I have no way to get the file id which was uploaded on server. Usually we get the id of the document and delete the record using that Primary key or id.

Using vue2dropzone I have many advantages but deleting a uploaded file is getting headache for me. I tried to find a solution but so far got 0 related/helpful results.

Please help me get the uuid of the file on upload request as well so that I can delete the file from server using that uuid.

abhimanusharma commented 3 years ago

I found the solution.