This Question is Not Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (5 pts)
3 Replies Last post: Apr 4, 2008 8:33 PM by wuhao_military  
wuhao_military Bronze 5 posts since
Apr 3, 2008
Currently Being Moderated

Apr 3, 2008 6:28 AM

A problem with server and client

 

I am using the latest Openfire (3.4.5) and Smack API (3.0.4). I have a LAN. I have install a Openfire on a computer with XP, and using Smack API on computer

 

 

with Federo. But when i try to transfer a file from one computer to another, a problem occured. I didn't transfer a file successfully because negotiation is error.

 

 

I want to know whether using server and client on the different OS.

 

 

And I have another problem when I install a Spark on Federo . I unzip the spark_2_5_8.tar.gz and then run the shell file Spark ,but a the program will find the

 

 

/lib/windows and the install failed.

 

 

Excuse me, my English is very pool and thank you very much to answer my questions.

 

 

 

 

Chris Ward Silver 89 posts since
Aug 16, 2005
Currently Being Moderated
Apr 3, 2008 11:25 AM in response to: wuhao_military
Re: A problem with server and client

Hello,

 

One common mistake people make when trying to send files is that they leave out a "resource" in the Jabber ID.  If you look at the JavaDoc for FileTransferManager#createOutgoingFileTransfer(String) you will see that it states a fully-qualified Jabber ID with resource is required.  So that means "user@server.com" is wrong and will cause an error, you need "user@server.com/resource" in order for it to work.  By default, the resource is set to "Smack" upon login.  If this is not your problem, you need to provide more example information/code/error details.

 

As for your question about Spark, you should post that in the Spark forum instead of here.

 

Chris

More Like This

  • Retrieving data ...