Posted on 2008-10-07 09:50:32-07 by baz
$conn->FileTransferOffer() How to use this function ????? :'(
I am currently using this code to transfer a file using the Net::Jabber library :
$file_id = $conn->FileTransferOffer(jid=>"level1\@192.168.0.181", sid=>$SID, methods => ['http://jabber.org/protocol/si/profile/bytestreams', 'jabber::iq::oob'], mode=>"passthru", timeout=>10 ) or die "File not sent\n";

but the problem is that when i run the program with this function, error comes "Cannot create new instance using Net::Jabber::Query"
Can anybody help me please. Urgent response is required :P
Thanx.
Direct Responses: 9108 | Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.