Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] Filetransfer

Hi Eugen,

Eugen Reiswich wrote:
Hi folks,

I'm trying to develop a filetransfer based on ECF as described in: --> ISendFileTransferContainerAdapter

I wonder now what an IFileID is supposed to do? The example shows that you can put a simple ID from the identity package to send a File, but it doesn't work for me ("... method is not applicable for arguments ..."). So my question is how do I convert an identity ID to an IFileID?

The easiest way is to create an IFileID instance using an URL and the FileIDFactory:


IFileID fileID = FileIDFactory.createFileID(namespace,new URL("scp://user@xxxxxxxx/filename.ext"));

Where the target file name is filename.ext.

I will update the javadocs documentation with this bug:

There are further examples of this in the example code.

There is this bug (with scp) that I am looking at now:



I would appreciate if anyone could help me.


PS.: is there some example/code snippet how to develop a remote file browser dialog?
ecf-dev mailing list

Back to the top