// 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!");
now i want to read this description which is “You won’t believe this!” in IncomingFileTransfer.
Using this i am able to send file and receive it through IBB. Actually i want to transfer through SOCKS5. In SOCKS5, images can be transferred, but not able to send videos(Larger files).