I tried the sending files tutorial in the SMACK documentation. Whenever I try to test it with by trying to send a file from Eclipse an eclipse program to a client (I’m testing it against Exodus), Exodus only detects that I have logged into the network but not the fact that I am trying to send a file to the account.
Does anyone have any recommended resources for other fileTransfer tutorials?
Here is the snippet of code that doesn’t seem to be working:
FileTransferManager transferManager = new FileTransferManager(connection);
OutgoingFileTransfer out = transferManager.createOutgoingFileTransfer(“firstname.lastname@example.org”);
System.out.println(“Creating file transfer”);
out.sendFile(new File(“shakespeare_complete_works.txt”), “Test123!”);
System.err.println("Error: " + E);
Attached is the entire file:
PlaygroundTransfer.java (3568 Bytes)