Not logged in. · Lost password · Register
Forum: agsXMPP RSS
ramtin #1
User title: RamTin
Member since Mar 2013 · 26 posts
Group memberships: Members
Show profile
Subject: Can't Send File
Hi Alex,

i can't send file to Ejabberd Sever Like Nimbuzz


  1. SEND: <iq id="agsXMPP_39" to="" type="set"><si xmlns="" profile="" id="41246188-159e-4399-a277-3c37683eb6c0"><file xmlns="" name="trv.PNG" size="4084"><range /></file><feature xmlns=""><x xmlns="jabber:x:data" type="form"><field type="list-single" var="stream-method"><option><value></value></option></field></x></feature></si></iq>
  3. RECV: <iq xmlns="jabber:client" from="" to="" type="error" id="agsXMPP_39"><error code="400" type="cancel"><bad-request xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /><no-valid-streams xmlns="" /></error></iq>

when with nimbuzz messenger send a file to myId , i get this xml =>

  1. RECV: <message xmlns="jabber:client" from="" to="" type="normal" id="file_1178085158"><body>testing has uploaded the file 92580357444476628906.png to your personal file store.</body><file xmlns="" size="14339" name="92580357444476628906.png"><thumbnail></thumbnail><x xmlns="jabber:x:data" type="result"><field var="tags"><value>image</value></field><field var="timestamp"><value>2013-10-16T19:16:31.045Z</value></field></x></file><list xmlns="nimbuzz:filestore" hash="1381950991354" /><request xmlns="urn:xmpp:receipts" /></message>

so how can i send file to this ?
This post was edited on 2013-10-17, 21:26 by Alex.
Alex #2
Member since Feb 2003 · 4298 posts · Location: Germany
Group memberships: Administrators, Members
Show profile
agsXMPP implements the Si file transfer like it is described here:

It looks like the Nimbuzz messenger has a modified implementation of this. So to get this working you have to reverse study and reverse engineer the protocols of the Nimbuzz messenger.

Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS