powered by Jive Software

Smack send file to Spark, No response

Hello,

I’m trying to send a file to the Spark client using the Smack library.

The Accept or Reject confirmation appears at the Spark end but I do not receive response at the Smack end.

This is the status until the operation times out.

getStatus:Negotiating Transfer

getProgress:0.0

isDone:false

getError:null

getException:null

Can someone tell me how to debug the problem? I’m already using the Enhanced Debugger and have no response from the Spark end.

The sample is this one: http://www.igniterealtime.org/builds/smack/docs/latest/documentation/extensions/ filetransfer.html#sendfile

Thanks!

João

Enable Smack.DEBUG and check the stanzas involved in the file transfer.

I have the debug enabled already, but I have no clue about the Spark response.

What you mean with Smack.DEBUG? Connection.DEBUG_ENABLED = true;?

Thanks