FileTransfer drag and drop (dnd) from remote server to Windows Explorer [message #328706] |
Mon, 02 June 2008 11:18 |
Eclipse User |
|
|
|
Originally posted by: Bogdan.Barzu.est.fujitsu.com
Hi,
I am trying to drag files from an Eclipse view (own development), which
are residing on a remote WebDAV server and drop them outside Eclipse,
let's say into the Windows Explorer. Eclipse will perform a FileTransfer
dnd operation.
The problem is that I cannot provide the String[] of file paths on the
local machine that the FileTransfer requires, because, as I said, the
files reside on the remote WebDAV server. I only have the URLs to these
files, and, in order to access them, authentication is required.
I could, of course, implement my DragSourceAdapter.dragSetData() to
download them under a temporary folder on the local machine and delete the
temporaries with DragSourceAdapter.dragFinished().
But if anyone has a better solution, allowing me to specify the
credentials in order to avoid redundant authentication, please share it!
|
|
|
Powered by
FUDForum. Page generated in 0.02227 seconds