Not logged in. · Lost password · Register
Forum: MatriX RSS
Avatar
walladev #1
Member since Apr 2012 · 13 posts
Group memberships: Members
Show profile · Link to this post
Subject: How to use FileTransferTransportProtocol enum in Matrix
Hi Alex,

I'm using matrix sdk 1.4.4.0. I want to use Sock5 (XEP-0065) to transfer file between applications. But i don't know how to use FileTransferManager and Bytestreams class. So i need your help on this. May you give me an example for using them?

Note: I found FileTransferManager class is used in MiniClient. It's used IBB protocol. Not Sock5

I look forward to your early response. :)

Thanks
This post was edited on 2012-04-02, 21:54 by walladev.
Avatar
Alex #2
Member since Feb 2003 · 4327 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
The FileTransferManager in MatriX supports only IBB, SOCKS5 is currently not supported. But all the protocol classes you need for SOCKS5 are there. In the MiniClient example for agsXMPP there is Socks5 support. You can look at this example and port over the code to MatriX.

Alex
Avatar
walladev #3
Member since Apr 2012 · 13 posts
Group memberships: Members
Show profile · Link to this post
Quote by Alex:
The FileTransferManager in MatriX supports only IBB, SOCKS5 is currently not supported. But all the protocol classes you need for SOCKS5 are there. In the MiniClient example for agsXMPP there is Socks5 support. You can look at this example and port over the code to MatriX.

Alex

Thanks for your early response. I got your guide and try to do it. :)

P/s: How long will matrix support Sock5 in official version.
Avatar
Alex #4
Member since Feb 2003 · 4327 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Quote by walladev:
P/s: How long will matrix support Sock5 in official version.
This is currently not planed, because we hat yet only one other request for it and most users are fine with IBB. And there is also the source code from the agsXMPP MiniClient which can be used for this.

Alex
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:
Forum: MatriX RSS