Skip to main content



      Home
Home » Archived » Eclipse Communications Framework (ECF) » FileTransfer problem
FileTransfer problem [message #607663] Thu, 05 October 2006 10:04 Go to next message
Eclipse UserFriend
Hello!

I have a little problem. I use the latest version of ECF from CVS.
I want to use the IOutgoingFileTransferContainer and the IRetrieveFileTransferContainer. But in this code, the containers value is null. What is the problem?

IContainer container = ContainerFactory.getDefault().createContainer("ecf.generic.fileshare ");
IOutgoingFileTransferContainer outgoingContainer = (IOutgoingFileTransferContainer) container.getAdapter(IOutgoingFileTransferContainer.class);
IRetrieveFileTransferContainer retrieveContainer = (IRetrieveFileTransferContainer) container.getAdapter(IRetrieveFileTransferContainer.class);

Thanks,
Balazs
Re: FileTransfer problem [message #607666 is a reply to message #607663] Fri, 06 October 2006 16:12 Go to previous messageGo to next message
Eclipse UserFriend
Hi Balazs,

The implementation of the filetransfer api isn't really ready, but in
response to your posting I've checked in to CVS a version of the
org.eclipse.ecf.provider.fileshare plugin that will let you get a
non-null IRetrieveFileTransferContainer off of the ecf.generic.fileshare
container. This retrieveContainer adapter will support http, ftp URIs.

The IOutgoingFileTransferContainer isn't yet implemented at all (except
for the xmpp provider, and that's not yet tested) so you can't use the
IOutgoingFileTransferContainer for a while (look for in 0.9.3).

0.9.2 stable is probably coming out today (Friday). It will only have
what is described above.

Thanks,

Scott


Balazs Brinkus wrote:
> Hello!
>
> I have a little problem. I use the latest version of ECF from CVS.
> I want to use the IOutgoingFileTransferContainer and the IRetrieveFileTransferContainer. But in this code, the containers value is null. What is the problem?
>
> IContainer container = ContainerFactory.getDefault().createContainer("ecf.generic.fileshare ");
> IOutgoingFileTransferContainer outgoingContainer = (IOutgoingFileTransferContainer) container.getAdapter(IOutgoingFileTransferContainer.class);
> IRetrieveFileTransferContainer retrieveContainer = (IRetrieveFileTransferContainer) container.getAdapter(IRetrieveFileTransferContainer.class);
>
> Thanks,
> Balazs
Re: FileTransfer problem [message #607670 is a reply to message #607666] Mon, 09 October 2006 16:51 Go to previous message
Eclipse UserFriend
Hello!

Thanks the information.

Bye,
Balazs
Previous Topic:ECF 0.9.2 stable
Next Topic:ECF and eRCP
Goto Forum:
  


Current Time: Mon May 19 21:23:30 EDT 2025

Powered by FUDForum. Page generated in 0.05046 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top