[JDEV] file transfer

Max Horn max at quendi.de
Mon Oct 22 15:12:18 CDT 2001


At 17:45 Uhr -0300 22.10.2001, Danilo Alves Ferreira (Engenharia - SPO) wrote:
>how can I implement a file transfer mechanism in a jabber client?

Using OOB (Out-Of-Band) transfers, see also
http://docs.jabber.org/proto/html/jabber:iq:oob.html
http://docs.jabber.org/proto/html/jabber:x:oob.html


Basically, you transmit an URL. The recipient must be able to 
download from this URL (usually a http, sometimes also a FTP URL). 
Sending is a bit harder, most clients that implement it contain a 
mini-http server. This is just a rough outline, though.




>how do I use the type "probe" of a presence tag?

It used to be something for the server only, not sure if you nowadays 
may use it. However, in a correctly designed client, you *never* have 
to use this!



Max
-- 
-----------------------------------------------
Max Horn
Software Developer

email: <mailto:max at quendi.de>
phone: (+49) 6151-494890



More information about the JDev mailing list