ZhuChaozheng / libjingle

Automatically exported from code.google.com/p/libjingle
0 stars 0 forks source link

Pcp example doen't work in latest libjingle. #373

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Compiling pcp example. 
2. Run pcp vas...@gmail.com
3. Enter password
4. Copy pcp to another directory
5. Run pcp vas...@gmail.com test.txt vas...@gmail.com:test.txt
6. Give the following error "A full JID is required for the source or 
destination arguments."

What version of the product are you using? On what operating system?
The latest libjingle. Windows XP.

Why pcp example doesn't work?

Original issue reported on code.google.com by vasya.ko...@gmail.com on 12 Jul 2012 at 1:52

GoogleCodeExporter commented 9 years ago
Since the pcp program sets the user's priority presence at "-1," a full JID is 
required to send a file. This means that you must provide 
user@host.com/full_resource to the second instance/the sender. This is achieved 
by performing the following:

-execute pcp from the full build directory: path_to_pcp/pcp receiver@host.com
-Find, in the output, where it says: "logged in as: receiver@host.com/pcp####" 
and note the part after ".com/" to insert into 
-execute pcp from another directory: path_to_talk/talk/build/dbg/staging/pcp 
sender@host.com source_file receiver@host.com/pcp####:destination_file 

Original comment by Cummings.Kyle.M on 20 Jul 2012 at 6:14

GoogleCodeExporter commented 9 years ago
That's very helpful

Original comment by look.wan...@gmail.com on 19 Mar 2013 at 2:46

GoogleCodeExporter commented 9 years ago

Original comment by juberti@google.com on 1 Jun 2013 at 4:58