HTML create element as a file to drag and drop

I have a webpage where I upload some files, and after that, sometimes I need to attach them to another application, for example, an email inbox.

So, I’m trying to reference a file in a HTML object, to be able to drag it and drop into the email inbox.

I have tried using a list-item (bootstrap 5) with an element refering to the directory of the file, but after dropping into the email, instead of dropping the file, only copies the url of the item.

As I said, I tried the element with href but didn’t work