Question

I'm using code example from here

And running it in Debian as

g++ -o tr ft_send.cpp -lgloox -pthread
./tr example@gmail.com/resource  ./file

Then it sends me request to accept file and I press accept. But then it prints

log: level: 0, area: 131072, <iq type='error' to='sender@gmail.com/glooxsendf1E777155' id='uid:502f38b2:2ae8944a' from='mmariya123@gmail.com/QIP9CA3B3AF'><error code='404' type='cancel'><item-not-found xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></iq>
ft request error
log: level: 0, area: 262144, </stream:stream>
ft_send: disconnected: 17
ce: 18

and disconnects from server. What can be problem? Can anybody help me? May be thing is in

      f->addStreamHost( j->jid(), "192.168.100.20", 6666 );
      // you should obtain this using disco, really:
//       f->addStreamHost( JID( "reflector.amessage.eu" ), "reflector.amessage.eu", 6565 );
//       f->addStreamHost( JID( "proxy.jabber.org" ), "208.245.212.98", 7777 );

But I do not know how to correct it.

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top