Subject: Trouble in FileTransfer
Hi Alex,
I'm trying to create file transfer functionality in my agsXmpp client, after the hard try of yesterday I decided to use MiniClient code, But I got this XML,
I couldn't identify the error. please help me...
I'm trying to create file transfer functionality in my agsXmpp client, after the hard try of yesterday I decided to use MiniClient code, But I got this XML,
//Sender
RECV: <iq xmlns="jabber:client" from="proxy.ag-software.de" to="client1@192.168.0.39/MiniClient" type="error" id="agsXMPP_12"><query xmlns="http://jabber.org/protocol/bytestreams" sid="51ad3e7f-53ea-44af-aa9c-5bf9ffa390e6"><activate>shantheepan@192.168.0.39/MiniClient</activate></query><error code="404" type="cancel"><remote-server-not-found xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq>
SEND: <iq id="agsXMPP_10" to="shantheepan@192.168.0.39/MiniClient" type="set"><si xmlns="http://jabber.org/protocol/si" profile="http://jabber.org/protocol/si/profile/file-transfer" id="5e793830-e0f8-4d6b-8c36-724ecfd514e8"><file xmlns="http://jabber.org/protocol/si/profile/file-transfer" name="fb5.jpg" size="12947"><range /></file><feature xmlns="http://jabber.org/protocol/feature-neg"><x xmlns="jabber:x:data" type="form"><field type="list-single" var="stream-method"><option><value>http://jabber.org/protocol/bytestreams</value></option></field></x></feature></si></iq>
RECV: <iq xmlns="jabber:client" from="shantheepan@192.168.0.39/MiniClient" to="client1@192.168.0.39/MiniClient" type="result" id="agsXMPP_10"><si xmlns="http://jabber.org/protocol/si" id="5e793830-e0f8-4d6b-8c36-724ecfd514e8"><feature xmlns="http://jabber.org/protocol/feature-neg"><x xmlns="jabber:x:data" type="submit"><field var="stream-method"><value>http://jabber.org/protocol/bytestreams</value></field></x></feature></si></iq>
SEND: <iq id="agsXMPP_11" to="shantheepan@192.168.0.39/MiniClient" type="set"><query xmlns="http://jabber.org/protocol/bytestreams" sid="5e793830-e0f8-4d6b-8c36-724ecfd514e8"><streamhost jid="proxy.ag-software.de" host="proxy.ag-software.de" port="7777" /></query></iq>
RECV: <iq xmlns="jabber:client" from="shantheepan@192.168.0.39/MiniClient" to="client1@192.168.0.39/MiniClient" type="result" id="agsXMPP_11"><query xmlns="http://jabber.org/protocol/bytestreams"><streamhost-used jid="proxy.ag-software.de" /></query></iq>
SEND: <iq id="agsXMPP_12" to="proxy.ag-software.de" type="set"><query xmlns="http://jabber.org/protocol/bytestreams" sid="5e793830-e0f8-4d6b-8c36-724ecfd514e8"><activate>shantheepan@192.168.0.39/MiniClient</activate></query></iq>
//Receiver
SEND:
RECV: <iq xmlns="jabber:client" from="client1@192.168.0.39/MiniClient" to="shantheepan@192.168.0.39/MiniClient" type="set" id="agsXMPP_10"><si xmlns="http://jabber.org/protocol/si" profile="http://jabber.org/protocol/si/profile/file-transfer" id="5e793830-e0f8-4d6b-8c36-724ecfd514e8"><file xmlns="http://jabber.org/protocol/si/profile/file-transfer" size="12947" name="fb5.jpg"><range /></file><feature xmlns="http://jabber.org/protocol/feature-neg"><x xmlns="jabber:x:data" type="form"><field type="list-single" var="stream-method"><option><value>http://jabber.org/protocol/bytestreams</value></option></field></x></feature></si></iq>
SEND: <iq id="agsXMPP_10" to="client1@192.168.0.39/MiniClient" type="result"><si xmlns="http://jabber.org/protocol/si" id="5e793830-e0f8-4d6b-8c36-724ecfd514e8"><feature xmlns="http://jabber.org/protocol/feature-neg"><x xmlns="jabber:x:data" type="submit"><field var="stream-method"><value>http://jabber.org/protocol/bytestreams</value></field></x></feature></si></iq>
RECV: <iq xmlns="jabber:client" from="client1@192.168.0.39/MiniClient" to="shantheepan@192.168.0.39/MiniClient" type="set" id="agsXMPP_11"><query xmlns="http://jabber.org/protocol/bytestreams" sid="5e793830-e0f8-4d6b-8c36-724ecfd514e8"><streamhost port="7777" jid="proxy.ag-software.de" host="proxy.ag-software.de" /></query></iq>
SEND: <iq type="result" to="client1@192.168.0.39/MiniClient" id="agsXMPP_11"><query xmlns="http://jabber.org/protocol/bytestreams"><streamhost-used jid="proxy.ag-software.de" /></query></iq>
SEND:
RECV: <iq xmlns="jabber:client" from="proxy.ag-software.de" to="client1@192.168.0.39/MiniClient" type="error" id="agsXMPP_12"><query xmlns="http://jabber.org/protocol/bytestreams" sid="51ad3e7f-53ea-44af-aa9c-5bf9ffa390e6"><activate>shantheepan@192.168.0.39/MiniClient</activate></query><error code="404" type="cancel"><remote-server-not-found xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq>
SEND: <iq id="agsXMPP_10" to="shantheepan@192.168.0.39/MiniClient" type="set"><si xmlns="http://jabber.org/protocol/si" profile="http://jabber.org/protocol/si/profile/file-transfer" id="5e793830-e0f8-4d6b-8c36-724ecfd514e8"><file xmlns="http://jabber.org/protocol/si/profile/file-transfer" name="fb5.jpg" size="12947"><range /></file><feature xmlns="http://jabber.org/protocol/feature-neg"><x xmlns="jabber:x:data" type="form"><field type="list-single" var="stream-method"><option><value>http://jabber.org/protocol/bytestreams</value></option></field></x></feature></si></iq>
RECV: <iq xmlns="jabber:client" from="shantheepan@192.168.0.39/MiniClient" to="client1@192.168.0.39/MiniClient" type="result" id="agsXMPP_10"><si xmlns="http://jabber.org/protocol/si" id="5e793830-e0f8-4d6b-8c36-724ecfd514e8"><feature xmlns="http://jabber.org/protocol/feature-neg"><x xmlns="jabber:x:data" type="submit"><field var="stream-method"><value>http://jabber.org/protocol/bytestreams</value></field></x></feature></si></iq>
SEND: <iq id="agsXMPP_11" to="shantheepan@192.168.0.39/MiniClient" type="set"><query xmlns="http://jabber.org/protocol/bytestreams" sid="5e793830-e0f8-4d6b-8c36-724ecfd514e8"><streamhost jid="proxy.ag-software.de" host="proxy.ag-software.de" port="7777" /></query></iq>
RECV: <iq xmlns="jabber:client" from="shantheepan@192.168.0.39/MiniClient" to="client1@192.168.0.39/MiniClient" type="result" id="agsXMPP_11"><query xmlns="http://jabber.org/protocol/bytestreams"><streamhost-used jid="proxy.ag-software.de" /></query></iq>
SEND: <iq id="agsXMPP_12" to="proxy.ag-software.de" type="set"><query xmlns="http://jabber.org/protocol/bytestreams" sid="5e793830-e0f8-4d6b-8c36-724ecfd514e8"><activate>shantheepan@192.168.0.39/MiniClient</activate></query></iq>
//Receiver
SEND:
RECV: <iq xmlns="jabber:client" from="client1@192.168.0.39/MiniClient" to="shantheepan@192.168.0.39/MiniClient" type="set" id="agsXMPP_10"><si xmlns="http://jabber.org/protocol/si" profile="http://jabber.org/protocol/si/profile/file-transfer" id="5e793830-e0f8-4d6b-8c36-724ecfd514e8"><file xmlns="http://jabber.org/protocol/si/profile/file-transfer" size="12947" name="fb5.jpg"><range /></file><feature xmlns="http://jabber.org/protocol/feature-neg"><x xmlns="jabber:x:data" type="form"><field type="list-single" var="stream-method"><option><value>http://jabber.org/protocol/bytestreams</value></option></field></x></feature></si></iq>
SEND: <iq id="agsXMPP_10" to="client1@192.168.0.39/MiniClient" type="result"><si xmlns="http://jabber.org/protocol/si" id="5e793830-e0f8-4d6b-8c36-724ecfd514e8"><feature xmlns="http://jabber.org/protocol/feature-neg"><x xmlns="jabber:x:data" type="submit"><field var="stream-method"><value>http://jabber.org/protocol/bytestreams</value></field></x></feature></si></iq>
RECV: <iq xmlns="jabber:client" from="client1@192.168.0.39/MiniClient" to="shantheepan@192.168.0.39/MiniClient" type="set" id="agsXMPP_11"><query xmlns="http://jabber.org/protocol/bytestreams" sid="5e793830-e0f8-4d6b-8c36-724ecfd514e8"><streamhost port="7777" jid="proxy.ag-software.de" host="proxy.ag-software.de" /></query></iq>
SEND: <iq type="result" to="client1@192.168.0.39/MiniClient" id="agsXMPP_11"><query xmlns="http://jabber.org/protocol/bytestreams"><streamhost-used jid="proxy.ag-software.de" /></query></iq>
SEND:
I couldn't identify the error. please help me...
shantheepan
Show profile
Link to this post
