AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

XMPP Dateitransfer

Ein Thema von xZise · begonnen am 10. Aug 2010
Antwort Antwort
Benutzerbild von xZise
xZise

Registriert seit: 3. Mär 2006
Ort: Waldbronn
4.303 Beiträge
 
Delphi 2009 Professional
 
#1

XMPP Dateitransfer

  Alt 10. Aug 2010, 00:15
Moin,
ich habe das Problem bei XMPP mithilfe eines Bytestreams Dateien zu versenden.

Wenn ich proxy.eu.jabber.org nutze, dann funktionierts, aber wenn ich proxy.draugr.de, proxy2.isgeek.info oder proxy.deshalbfrei.org nehme, dann funktioniert es leider nicht.

XML-Code:
<iq type="set" to="EMPFÄNGER" id="mir_512">
    <si xmlns="http://jabber.org/protocol/si" id="33936809" mime-type="binary/octet-stream" profile="http://jabber.org/protocol/si/profile/file-transfer">
        <file xmlns="http://jabber.org/protocol/si/profile/file-transfer" name="Sixth_by_davemetlesits.jpg" size="1330524">
            <desc></desc>
        </file>
        <feature xmlns="http://jabber.org/protocol/feature-neg">
            <x xmlns="jabber:x:data" type="form">
                <field var="stream-method" type="list-single">
                    <option>
                        <value>http://jabber.org/protocol/bytestreams</value>
                    </option>
                    <option>
                        <value>http://jabber.org/protocol/ibb</value>
                    </option>
                </field>
            </x>
        </feature>
    </si>
</iq>

<iq from="EMPFÄNGER" to="ICH" type="result" id="mir_512">
    <si xmlns="http://jabber.org/protocol/si">
        <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>

<iq type="get" to="proxy2.isgeek.info" id="mir_513">
    <query xmlns="http://jabber.org/protocol/bytestreams" />
</iq>

<iq from="proxy2.isgeek.info" to="ICH" type="error" id="mir_513">
    <query xmlns="http://jabber.org/protocol/bytestreams" />
    <error code="403" type="auth">
        <forbidden xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" />
    </error>
</iq>

<iq type="set" to="EMPFÄNGER" id="mir_514">
    <query xmlns="http://jabber.org/protocol/bytestreams" sid="33936809" />
</iq>

<iq from="EMPFÄNGER" to="ICH" type="error" id="mir_514">
    <error code="404" type="cancel">
        <item-not-found xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" />
    </error>
</iq>
Das ist der Inhalt der Übertragung.

MfG
Fabian
Fabian
Eigentlich hat MS Windows ab Vista den Hang zur Selbstzerstörung abgewöhnt – mkinzler
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 19:37 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz