powered by Jive Software

Spark file transfer is limited to 60kb

I am testing out file transfer between two spark clients. One is on 64bit linux and the other is in windows xp in vmware (in that 64bit linux box). From the receiver spark client whether it is 64bit linux or windows, it can only receive 60kb while the sender client keep showing progress of sending. (Really sending as I watch the network traffic but don’t know where tho. ) It seems like the following problem.

http://www.igniterealtime.org/community/message/193768#193768

I am using spark 2.5.8 for both clients and gtalk accounts.

Did you ever get this to work (regardless of transfer size) on the Android platform?

yeh, I get it to working for a small file size.

Can you tell me how you got it working? I am getting a null pointer exception on this:

FileTransferNegotiator.setServiceEnabled(connection,true);

I tried reading your other threads, but am not sure how to resolve the issue. Thanks!

the answer is in the other thread

or simply put, use ‘configure()’ method

Sorry to bother you again, but it’s not working for me…

I have:

this.configure(ProviderManager.getInstance());
XMPPConnection connection = new XMPPConnection(connConfig);

the configure method is copied from the thread you referenced above. Later, when I call

FileTransferNegotiator.setServiceEnabled(connection,true);

It throws a null pointer exception.