Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Communications Framework (ECF) » FileTransfer problem
FileTransfer problem [message #607663] Thu, 05 October 2006 14:04 Go to next message
Balazs Brinkus is currently offline Balazs BrinkusFriend
Messages: 4
Registered: July 2009
Junior Member
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 20:12 Go to previous messageGo to next message
Scott Lewis is currently offline Scott LewisFriend
Messages: 1038
Registered: July 2009
Senior Member
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 20:51 Go to previous message
Balazs Brinkus is currently offline Balazs BrinkusFriend
Messages: 4
Registered: July 2009
Junior Member
Hello!

Thanks the information.

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


Current Time: Mon Aug 10 00:20:54 GMT 2020

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

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

Back to the top