How can I send data from xmpppy using this method:
IBB Classes should be used but do not know how to do
First of all, if you are on GoogleTalk, Then make sure the sender is on the receiver's roster, then on the sender side:
from xmpp import * cl = client ('example.com') cl.connect () cl.auth ( 'Sender', 'sender_pass') ibb = Filetransfer.IBB () ibb.PlugIn (cl) f = open ('/ tmp / foo') ibb.OpenSt Ream ('123', 'receiver@example.com/resource', f) No matter what the stream ID is, if you are not correct / first
Comments
Post a Comment