powered by Jive Software

File transfer issue


I have a XMPPConnection between two users on wildfire server.

one of them user has to send a file to the other user.

I tried the following:

sender code-

FileTransferManager manager = new FileTransferManager(connection);

OutgoingFileTransfer transfer = manager.createOutgoingFileTransfer(destination_id);

transfer.sendFile(new File(selectedFile.getPath()), “must see this”);

receiver code-

FileTransferManager manager = new FileTransferManager(connection);

manager.addFileTransferListener(new FileTransferListener()

{ public void fileTransferRequest(FileTransferRequest request)

{ IncomingFileTransfer transfer = request.accept();

transfer.recieveFile(new File(“see_this.txt”));




destination_id is perfect, it is not problem.

Now I am not able to receive file basec on this mail. I have not much knowledge regarding file transfer.

I think I am missing something between this chain, but not exactly.

Can anybody help me.

If you want more information than let me know.