Hello everybody,
I’‘m a french student and I’'m working with the sip-communicator team. My job is to add filetransfer into sip-com.
Sip-com use smack for jabber messaging.
I have no problem to receive file, but I can’'t send files.
In a first time, I try to use the following code comming from the smack documentation :
// Create the file transfer manager
FileTransferManager manager = new FileTransferManager(connection);
// Create the outgoing file transfer
OutgoingFileTransfer transfer = manager.createOutgoingFileTransfer("romeo@montague.net");
// Send the file
transfer.sendFile(new File(“shakespeare_complete_works.txt”), “You won’'t believe this!”);+
With this code, I get the following error :
Exception in thread “AWT-EventQueue-0” java.lang.IllegalArgumentException: The provided user id was not fully qualified
It will be great If someone can help me.
Thank’'s in advance.