I wondering, is it possible to simulate drag and drop from file manger? For example Finder. I just want to drag and drop multiple folders and files and upload them directly to the S3. The problem is that File class has path field that read only. So if I drop a folder I will get
{
name: "a.txt", // file name
path: "/folder/a.txt",
size: 2473, // 2kb
type: "text/plain",
lastModifiedDate: ...,
...
Do you have some workaround to set this path field?
I wondering, is it possible to simulate drag and drop from file manger? For example Finder. I just want to drag and drop multiple folders and files and upload them directly to the S3. The problem is that File class has
pathfield that read only. So if I drop a folder I will getDo you have some workaround to set this
pathfield?