again an experimental Smack to fix IBB transfers for Spark 2.6.3. This is an experimental build with patches based on the Smack 3.2. branch. The patch itself is published in SMACK-351
The Smack code is not using IQ Stanzas for IBB file transfer since the implementation is not correct. Smack 3.2.1 also breaks file transfers via IBB to Spark 2.5.8. This alpha should fix:
SMACK-350 Bytestream is not working in Spark 2.6.3 from XP to W7
SMACK-349 Smack’s IBB sends too much data in a packet
SMACK-263 Set file info in all send* methods
SMACK-335 Need to set file size and name for outgoing file transfer from input stream
Copy into the lib folder of the Spark installation folder and report results.
This release includes the patches 263, 335, 349 and some changes for fixing IBB transfer.
For now, this beta smack will use message stanzas in IBB mode and the IBB filetransfer between this and Spark 2.5.8 should be fixed. The IQ mode is still bugy, so if a 3.2.1 smack try to send via IQ stanzas, the filetransfer will probably fail. Transfer from 3.2.2 beta to a 3.2.1 should work fine in message stanza mode.
They aren’t committed yet. This is just a build from someone’s own workspace, not actually a beta build from source control. They are simply trying to get a few people to test the proposed changes to fix a now long standing problem.
Thanks for fixing the ibb file transfer. I am developing a chat client for android and I have tested file transfer with emulators. File transfer works properly on android.
Are there any apis available to retrieve chat history from server. I have tried using agentchathistory but I am getting the empty response. Do I need to make any settings on server?
Sounds a bit like your co-worker is running the smack without the patch.
The problem is, if your worker try to send a file using iq stanza the transfer will properly fail because the iq stanza method is still buggy.
if u, with a patched smack, send a file to your co-worker, message stanzas will be used for transfer-mode and this should work well.
You can choose to enable the debugger in the option window of the loginscreen. if the worker try to send in message stanza mode, the “all packets” tab will show a lot of messages send by sender only while filetransfer. In the iq stanza mode, the receiver will confirm every packet from the sender. Is your co-worker running a smack with the patch?
Ther patch for logging the packets send and received is still work in progress.
No, should work then. Is your co-worker sending with iq or message stanzas (you can see in your debug window: lot of messages from sender only its message mode, every message confirmed by receiver its iq mode).
Which smack version is shown in your and yoru co-workers debug window?