|
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. |