Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
bart38 #1
Member since May 2008 · 1 post
Group memberships: Members
Show profile · Link to this post
Subject: Use the class file to send a simple file
Hi,
i'm doing a very little application. I used your code to send a message to another JID :

XmppClientConnection xmpp = new XmppClientConnection("jabber.org");
xmpp.Open("myusername", "mysecret");
xmpp.OnLogin += delegate(object o) { xmpp.Send(new Message("test@jabber.org", MessageType.chat, "Hello, how are you?")); };

It works but now i'd like to use the same sample code in order to send a file to another JID, how can I do it?

Thanks
bart38
Avatar
Alex #2
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Please study the examples which ship with the SDK. There is also a SOCKS5 file transfer example in the MiniClient c#.

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: agsXMPP RSS