You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I drag/drop /Volumes/Drive12/project3/export_8.csv, the file.fullPath = /export_8.csv.
You mention this is due to browser security restrictions. However the app I'm building does file management, which requires the complete path (moving files from any place to any other).
There's a preview-an-image-before-it-is-uploaded thread on stackoverflow that suggests using URL.createObjectURL() or FileReader.readAsDataURL(), however I don't see how to implement this with drag-drop.
Is there a workaround to retrieve the complete filesystem path of a dragged file?
The text was updated successfully, but these errors were encountered:
When I drag/drop
/Volumes/Drive12/project3/export_8.csv
, thefile.fullPath
=/export_8.csv
.You mention this is due to browser security restrictions. However the app I'm building does file management, which requires the complete path (moving files from any place to any other).
There's a preview-an-image-before-it-is-uploaded thread on stackoverflow that suggests using
URL.createObjectURL()
orFileReader.readAsDataURL()
, however I don't see how to implement this with drag-drop.Is there a workaround to retrieve the complete filesystem path of a dragged file?
The text was updated successfully, but these errors were encountered: