Not logged in. · Lost password · Register
Forum: MatriX and XmppDotNet RSS
Avatar
.net_developer #1
Member since Sep 2015 · 41 posts
Group memberships: Members
Show profile · Link to this post
Subject: Groupchat file transfer
hello,which is best suitable for groupchat file transfer "XEP-0066-Out of Band Data" or "XEP-0096-SI File Transfer"?why?
Avatar
Alex #2
Member since Feb 2003 · 4447 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
I would go with Out of Band data. This is also the pattern which most group chat software like HipChat, Slack, WhatsApp and others are using.

1) Client upload the file to a storage location (Webserver, Azure Blob storage, Amazon S3, Dropbox etc....)
2) Client shared the link to the file over OOB with a group (1=>n)

Alex

PS: SI is not a file transfer method, it defines Stream Initiation and negotiation which should be used with any file transfer protocol.
Avatar
.net_developer #3
Member since Sep 2015 · 41 posts
Group memberships: Members
Show profile · Link to this post
ok ,so  should i use out of band data with SI,as specifeid in 6th section of http://www.xmpp.org/extensions/xep-0066.html?
Avatar
Alex #4
Member since Feb 2003 · 4447 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
this would be my suggestion, but feel free to explore other options as well.

Alex
Avatar
.net_developer #5
Member since Sep 2015 · 41 posts
Group memberships: Members
Show profile · Link to this post
ok,,thank you,,for guiding me so well.. :-)
Avatar
.net_developer #6
Member since Sep 2015 · 41 posts
Group memberships: Members
Show profile · Link to this post
can "XEP-0066-Out of Band Data" be used for single chat file transfer also?which version of it would be better with SI or without SI?
Avatar
Alex #7
Member since Feb 2003 · 4447 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
of course you can.
You should always use SI. With SI 2 clients negotiate and agree on the file transfer method. This is important if you talk to other XMPP clients for example, or later want to add another option for the file transfer to your software.
If you run in a closed environment with your software only it will also work without SI, but I would suggest always to use SI.

Alex
Avatar
.net_developer #8
Member since Sep 2015 · 41 posts
Group memberships: Members
Show profile · Link to this post
you mean alone SI or SI with "out of band"?
Avatar
Alex #9
Member since Feb 2003 · 4447 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
SI alone is useless. I said I would recommend SI+OOB, while OOB without SI will work as well.

Alex
Avatar
.net_developer #10
Member since Sep 2015 · 41 posts
Group memberships: Members
Show profile · Link to this post
ok..thank you
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: