am new to smack and openfire and i was recently trying to send a file from one pc to another but each time progress doesnt proceed beyond 1.0 on the sending side and 0.0 on the receiving side. i was using the example in the file transfer extension documentation:
http://www.igniterealtime.org/builds/smack/docs/latest/documentation/extensions/
// 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!");
but i cant seem to transfer the file, its a simple text file. please somebody help, i have read through most of the discussions concering file transfer in this community but non of them solves the problem