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
Posted on 2008-10-23 03:11:49-07 by baz in response to 8986
Re: $conn->FileTransferOffer() How to use this function ????? :'(
At last i have implemented the whole functionality my self God knows what's wrong with that bloody function. I had to send complete raw XML streams to the server for transfering the file according to the XMPP standards and it was also very difficult to find those streams as well. But Yahoooooooo!!!! it's done now :D
Direct Responses: 9175 | Write a response
Posted on 2008-11-01 05:51:50-07 by kltan in response to 9108
Re: $conn->FileTransferOffer() How to use this function ????? :'(
Hi Baz, I'm facing the same problem, can you share the raw XML code?
Direct Responses: 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.