I have a serious problem.
I try to program an kfm-like app with ftp and http-file transfer
feature. But the DnD-mechanism made me stumbling: In the
javaworld-articel about dnd I read that it makes no sense to transmit
object references.
But it seems to me that it is the only possible solution: If I mark some
files in one window (e.g. currently ftp.something.com) and drag them to
a kfm window onto my local disk. Then - if I have understand it right -
I have to download it into the jvm. After that I have to create an
InputStream and pass all the data of the files in it. Then kfm will read
it. Given the lousy performance of Streams on all platforms it will be
so slow no one will use it.
Yes, there is a possibility to transmit only the filenames. But how
would kfm handle it? And thus everytime I have always two connection to
the specified ftp-server: One holds the java app to determine the
filenames, and the other has kfm to download it. Not very elegant.

If someone has a hint for me, I would be very glad,
willi



----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to