How to make a variable change the address of a local file via Drag&Drop?
There is a web page, which you can throw the file.
Let's say it's a media player, it throws the video and he loses it (i.e. at the location of the file on a PC or other device)
March 19th 20 at 09:26
Uploading this with the help of boilerplate Ajax calls to React?
What books and materials to study to learn photoshop?
Hacking or paranoia?
How to make a variable assignment in a loop?
How to download a file by full path?
Where to find the feature or widget to graphically display a numeric value?
How to defeat the purpose of the metrics on the button?
Why the array doesn't want to move ?Anyway,what's the problem then?
More answers about
"How to make a variable change the address of a local file via Drag&Drop?"
March 19th 20 at 09:28
Local address you won't get anything because of security reasons. There is the usual file input to do, the user drags a file on him, he ugrozhaya, get the BLOB and then have produced it the necessary manipulations.
There is the following code - (), throwing the file in D&D, the address of the location of the file replaces the XXX.mp4
commented on March 19th 20 at 09:31
, if you're using input download any file, you will see there the object, there will be all kinds of information, including the file extension and the path to it in the user's file system(and the names and number of variables with paths will depend on the browser and its version), so sho if you need to display where it was obtained, it is possible. But I think in this file there is nothing you can through the browser because the browser is a sandbox which has no access to the file system, you can have access to only what the user sent in the sandbox.
commented on March 19th 20 at 09:34
Find more questions by tags