Extend dataTransfer.files and provide full file path

Feature Description:

In Outplayed, we wish to implement a Dropzone feature.
We want to drag a file onto a certain area, and then use the said file.
Using the given API, all we can get is the file’s name, size & content using event.dataTransfer.files.

We would like to be able to get the file’s full path so we could map it in our database.

impact for my app:


What is your current pain point?

Without a direct path to the file, we must copy the file locally. Doing so will use more storage.
As we know that a lot of users don’t have a lot of available storage, we would like to ease this pain point and avoid using extra space when not necessarily needed

What do you have in mind to solve it?

Idea 1

Extend the File object and return a path field

Idea 2

Add a new API method that gets a File object and returns the file’s path in return.

Hi, and thanks for the feedback.

We will discuss the matter internally, and we will update you here.


1 Like

We added this feature request to our backlog.
We don’t have an ETA, though, which can take some time to implement and release.

Thank you so much for being so patient.
We will update you here once it is ready.


1 Like