About connect to the SSH Server with your wodSSH (General questions)
by amiao, Saturday, August 18, 2007, 07:33 (6307 days ago)
Hi,
I am using your product wodSSH in Delphi 7.0, but I find a problem that when I use the method connect provided by the component(I have set all properties including user, password and so on), I could connect the SSH server successfully with about 90 percentage,but sometimes I fail to connect,the error message is shown,which is saying your system didn't provide string presentation of the error, I can not find out the reason,so I want to sak me, and I would be appreciated if you could answer my question.Thank you!
Re: About connect to the SSH Server with your wodS
by wodSupport, Saturday, August 18, 2007, 10:37 (6307 days ago) @ amiao
Amiao,
what error message do you get?
Kreso
Re: About connect to the SSH Server with your wodS
by amiao, Saturday, August 18, 2007, 12:23 (6307 days ago) @ wodSupport
The error message dialogue shows that your system didn't provide string presentation of the error.
Besides,another problem is arisen,for example if my username is test,I connect to the SSH server with the username,then the Server send the client information,for example,the information is 'test hello world',I use the method receive() to receive the information,the result is that the information I receive is 'hello world', not 'test hello world',I test it several times with different examples,I find that if the information match the username you login with,the information will not be received.Why?
Could you help me?Thank you!
Re: About connect to the SSH Server with your wodS
by wodDamir, Saturday, August 18, 2007, 12:52 (6307 days ago) @ amiao
Hi Amiao,
Can you check what method does that error occur on? The error that you get actually says only that we don't have that error on our error list.
Also, regarding your other problem. Can you try calling Receive Method from within Receive Event? Do you get all the data in that case?
Regards,
Damba
Re: About connect to the SSH Server with your wodS
by amaio, Saturday, August 18, 2007, 13:33 (6307 days ago) @ wodDamir
You counld not understand my second question.Given a example:
1.I use the Username,password property,and I assume the Username is 'test'
2.I use the method connect() to connect SSH server successfully
3.I use the method Execute('ls')
4.The Server will send client about all the file name of one directory,and I assume one file name is 'test.txt'
5.The client will receive the information about the files' name from the server
6.I can all the filename except the file named 'test.txt' because the file name is the same as the username 'test'
7.But if I set the property Username 'root' then I use the method connect(),then use the method Execute('ls'),finally I can receive all the files' name including the file named 'test'
Only because the filename is the same as Username,the file name is not shown.Why?
Re: About connect to the SSH Server with your wodS
by wodSupport, Saturday, August 18, 2007, 15:39 (6307 days ago) @ amaio
Amiao,
what version of the component are you using? If you download our latest version, but DO NOT apply any 3rd party patches on it that can be downloadable on various non legal sites, does same error appear?
If that issues is solved, let me know so we can continue with other problems you are reporting.
Regards,
Kreso
Re: About connect to the SSH Server with your wodS
by amiao, Saturday, August 18, 2007, 16:22 (6307 days ago) @ wodSupport
Hi,
I doubted that you have not fully understand my question.I am not using the third part patch.Please be patient to test these errors follow my example I have posted it above.Now,I am testing whether your component is suitable for my project.If I find no bug in your component,I would like to buy your product for my project.
Thank you very much for your kindness.
Re: About connect to the SSH Server with your wodS
by wodSupport, Saturday, August 18, 2007, 18:03 (6307 days ago) @ amiao
But it doesn't make sense not to receive 'test' file just because username 'test' is used. Did you perhaps set Prompt property too?
Here's what we could do. Can yuo prepare small sample that doesn't work (well, not the way you would hope it should work) and send it to techsupport@weonlydo.com ? If we can duplicate the problem we could easily try to help you.
Kreso
Re: About connect to the SSH Server with your wodS
by amiao, Monday, August 20, 2007, 03:27 (6305 days ago) @ wodSupport
Hi,
Thank you for your help!Maybe,there is something wrong about setting property prompt.