File transfer

Hi!
I'm developping a client chat using the XMPP protocol.
At this day i'm stuck inside a problem.
I'm trying to send files using XMPP with : In-Band Bytestreams (http://www.xmpp.org/extensions/xep-0047.html).
I got an strange error when i send the creating bytestream from the server :

<iq from="bart3874@jabber.fr/Work" to="yoyo38@jabber.fr/Home" xml:lang="en" type="error" id="yeah">
<error code="404" type="cancel">
<item-not-found xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" />
</error>
</iq>

Thanx for your help :)
Bart

Using ejabberd trunk

Using ejabberd trunk SVN.

When I send this stanza:

<iq type='set'
    from='badlop@loccalhost/Tka'
    to='username@localhost/work'
    id='inband_1'>
  <open sid='mySID'
        block-size='4096'
        xmlns='http://jabber.org/protocol/ibb'/>
</iq>

it gets delivered to username.

His client answers me that the Stream ID was not previously negotatied, and I receive that stanza:
I get this response:

<iq from='username@localhost/work'
    xml:lang='es'
    id='inband_1'
    type='error'
    to='badlop@localhost/Tka'>
  <open sid='mySID'
        block-size='4096'
        xmlns='http://jabber.org/protocol/ibb'/>
  <error type='modify'
         code='400'>
    <bad-request xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
    <text xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'>
       Stream ID no ha sido negociado</text>
  </error>
</iq>
Syndicate content