AnsweredAssumed Answered

0k files created by Spark

Question asked by svenk9575 on Nov 27, 2007

Hi,

 

I use ag-software's miniclient and spark clients along with openfire server to test

the file transfer; When I send files from spark to miniclient it works

but not the other way. I get a 0k file created by spark.

I was hoping if I pasted the send and receive logs from miniclient, you

guys can point me to anything that I'm missing. Any help is appreciated.

 

From Spark to Mini-----

 

spark: &lt;iq id="dOOE2-49" to="madhan@venky/MiniClient" from="user1@venky/spark" type="set"&gt;&lt;si xmlns="http://jabber.org/protocol/si" id="jsi_2756468538531082847" mime-type="application/octet-stream" profile="http://jabber.org/protocol/si/profile/file-transfer"&gt;&lt;file xmlns="http://jabber.org/protocol/si/profile/file-transfer" name="spark_2_5_8.exe" size="28349440"&gt;&lt;desc&gt;Sending file&lt;/desc&gt;&lt;/file&gt;&lt;feature xmlns="http://jabber.org/protocol/feature-neg"&gt;&lt;x xmlns="jabber:x:data" type="form"&gt;&lt;field var="stream-method" type="list-multi"&gt;&lt;option&gt;&lt;value&gt;http://jabber.org/protocol/bytestreams</value></option><option><value>http://jab ber.org/protocol/ibb</value></option></field></x></feature></si></iq>

 

Mini: &lt;iq xmlns="jabber:client" id="dOOE2-49" to="user1@venky/spark" type="result"&gt;&lt;si xmlns="http://jabber.org/protocol/si" id="jsi_2756468538531082847"&gt;&lt;feature xmlns="http://jabber.org/protocol/feature-neg"&gt;&lt;x xmlns="jabber:x:data" type="submit"&gt;&lt;field var="stream-method"&gt;&lt;value&gt;http://jabber.org/protocol/bytestreams</value></field></x></feature></si></iq>

 

spark: &lt;iq id="dOOE2-50" to="madhan@venky/MiniClient" from="user1@venky/spark" type="set"&gt;&lt;query xmlns="http://jabber.org/protocol/bytestreams" sid="jsi_2756468538531082847" mode="tcp"&gt;&lt;streamhost jid="proxy.venky" host="172.16.1.89" port="7777"/&gt;&lt;/query&gt;&lt;/iq&gt;

 

mini: &lt;iq xmlns="jabber:client" type="result" to="user1@venky/spark" id="dOOE2-50"&gt;&lt;query xmlns="http://jabber.org/protocol/bytestreams"&gt;&lt;streamhost-used jid="proxy.venky" /&gt;&lt;/query&gt;&lt;/iq&gt;

 

 

=== this is working ====

 

 

From Mini to spark

 

-


 

mini: &lt;iq id="agsXMPP_14" to="san@venky/spark" type="set"&gt;&lt;si xmlns="http://jabber.org/protocol/si" profile="http://jabber.org/protocol/si/profile/file-transfer" id="76524e5b-0abe-4ca1-9823-1a7fe67c1cea"&gt;&lt;file xmlns="http://jabber.org/protocol/si/profile/file-transfer" name="ChangeLog" size="24312"&gt;&lt;range /&gt;&lt;/file&gt;&lt;feature xmlns="http://jabber.org/protocol/feature-neg"&gt;&lt;x xmlns="jabber:x:data" type="form"&gt;&lt;field type="list-single" var="stream-method"&gt;&lt;option&gt;&lt;value&gt;http://jabber.org/protocol/bytestreams</value></option></field></x></feature></s i></iq>

 

spark: &lt;iq id="agsXMPP_14" to="madhan@venky/MiniClient" from="san@venky/spark" type="result"&gt;&lt;si xmlns="http://jabber.org/protocol/si"&gt;&lt;feature xmlns="http://jabber.org/protocol/feature-neg"&gt;&lt;x xmlns="jabber:x:data" type="submit"&gt;&lt;field var="stream-method"&gt;&lt;value&gt;http://jabber.org/protocol/bytestreams</value></field></x></feature></si></iq>

 

mini: &lt;iq xmlns="jabber:client" id="agsXMPP_15" to="san@venky/spark" type="set"&gt;&lt;query xmlns="http://jabber.org/protocol/bytestreams" sid="76524e5b-0abe-4ca1-9823-1a7fe67c1cea"&gt;&lt;streamhost jid="proxy.venky" host="172.16.1.89" port="7777" /&gt;&lt;/query&gt;&lt;/iq&gt;

 

spark: &lt;iq id="agsXMPP_15" to="madhan@venky/MiniClient" from="san@venky/spark" type="result"&gt;&lt;query xmlns="http://jabber.org/protocol/bytestreams"&gt;&lt;streamhost-used jid="proxy.venky"/&gt;&lt;/query&gt;&lt;/iq&gt;

 

 

== this is not working; creating 0k files ========

 

thanking you in advance

Venky

 

 

Outcomes