- Electron version: 1.7.10
- Operating system: Mac OS X Sierra
Hey guys! I love what you've done with Electron. Keep it up! 💯
I'm building a remote file explorer in Electron. I would like to have the ability to drag files out of Electron into the Mac OS X Finder. This can be achieved using webContents.startDrag() but this only works for local files that already exist. Since my file explorer manages remote files, I do not have a local file path to pass to webContents.startDrag() yet.
Is there any way to implement this kind of remote file drag-drop behavior with Electron? I was thinking of listening to the 'drop' event, intercepting the path, and downloading the files to this path via Node.js code.
However, Electron never seems to call any event after the webContents.startDrag() file has been successfully moved. Any ideas?
This has been asked on StackOverflow as well with no solution as of today:
https://stackoverflow.com/questions/43209509/is-it-possible-to-drag-a-remote-file-out-of-electron-app-onto-the-file-system?rq=1
Hey guys! I love what you've done with Electron. Keep it up! 💯
I'm building a remote file explorer in Electron. I would like to have the ability to drag files out of Electron into the Mac OS X Finder. This can be achieved using
webContents.startDrag()but this only works for local files that already exist. Since my file explorer manages remote files, I do not have a local file path to pass to webContents.startDrag() yet.Is there any way to implement this kind of remote file drag-drop behavior with Electron? I was thinking of listening to the 'drop' event, intercepting the path, and downloading the files to this path via Node.js code.
However, Electron never seems to call any event after the webContents.startDrag() file has been successfully moved. Any ideas?
This has been asked on StackOverflow as well with no solution as of today:
https://stackoverflow.com/questions/43209509/is-it-possible-to-drag-a-remote-file-out-of-electron-app-onto-the-file-system?rq=1