xmpp - FIle downloading using HTTP -
i having trouble finding correct xep use specific use case:
initiator (e.g. ios or android device) uploads file server , needs notify responder (in case browser based client) download file location uploaded using http.
all xep's have come across talk streams or ibb/socks5. did found following useful no updates since 2007:
http://xmpp.org/extensions/inbox/jingle-httpft.html
am overlooking on xep in draft or final?
either use xep-0066: out of band data, or encode link in xep-0071: xhtml-im a element.
the first:
<message from='stpeter@jabber.org/work' to='maineboy@jabber.org/home'> <body>yeah, have license jabber?</body> <x xmlns='jabber:x:oob'> <url>http://www.jabber.org/images/psa-license.jpg</url> </x> </message> the second:
<message> <body>here file [http://www.jabber.org/images/psa-license.jpg]</body> <html xmlns='http://jabber.org/protocol/xhtml-im'> <body xmlns='http://www.w3.org/1999/xhtml'> <p>here <a href='http://www.jabber.org/images/psa-license.jpg'>file</a></p> </body> </html> </message>
Comments
Post a Comment