SSH COM (General questions)
Hi,
i have problem with ssh com, i want delete/disactivate echo message/command from the server, it is possible with ssh com?
thank's...
Re: SSH COM
Hadi,
in what scenario would you want to do that? What WeOnlyDo component are you using?
Kreso
Re: SSH COM
Hadi,
in what scenario would you want to do that? What WeOnlyDo component are you using?
Kreso
I use the version: 2.3.4, makes some I want to recover the results of the order and not the orders + results
can you help me[:smile:]
Re: SSH COM
Hi Hadi,
Are you sure this isn't actually returned from server?
Maybe this article would help?
http://www.weonlydo.com/index.asp?forum=1&action=view&topic=1114545353#1114545353
You could simply remove the first line from the received data.
Hope this helps.
Regards,
Damba
Re: SSH COM
Hi Hadi,
Are you sure this isn't actually returned from server?
Maybe this article would help?
http://www.weonlydo.com/index.asp?forum=1&action=view&topic=1114545353#1114545353
You could simply remove the first line from the received data.
Hope this helps.
Regards,
Damba
thank you to your help, but I have another problem, I use vb6, when I call the method ssh.connect an error message occurs: You system did not provide string representation of the error .
can you help me....thanks.
hadi
Re: SSH COM
Can you download latest version from our website and try it? Make sure you do not apply any 3rd party patches on it. I'm sure it will work.
Kreso
Re: SSH COM
Can you download latest version from our website and try it? Make sure you do not apply any 3rd party patches on it. I'm sure it will work.
Kreso
Hello,
Does the SSH.Send method impose a limit in the number of byte sent, i.e. which is the maximum size (in ocktet) of the method send in ssh
Thank you.
Re: SSH COM
Hadi,
No, there is no limit on how much data is sent, but the amount of data shouldn't exceed 64k.
You can find more information on Send Method from the following link:
http://www.weonlydo.com/SSH/Help/WODSSHLib~wodSSH~Send.html
Regards,
Damba
Re: SSH COM
Hadi,
No, there is no limit on how much data is sent, but the amount of data shouldn't exceed 64k.
You can find more information on Send Method from the following link:
http://www.weonlydo.com/SSH/Help/WODSSHLib~wodSSH~Send.html
Regards,
Damba
All my problems are regulated thank you, it remains to me just only one: how I can desactivate the echo of the Server, in reality I use ssh COM to access to database, when I send my SQL order I receive my SQL order and the result of my SQL order and in the Recieve method I recover block data and not lines. Do you know an order under Unix which desactivate the echo from the Server, if not what to make in this case. Cash on your usual collaboration.
Re: SSH COM
Hadi,
As I said in my previous reply's, I don't think that's an echo. That's actually what server returned.
Can you show me a few lines that you receive?
Regards,
Damba
Re: SSH COM
Hadi,
As I said in my previous reply's, I don't think that's an echo. That's actually what server returned.
Can you show me a few lines that you receive?
Regards,
Damba
Order commands : (with send method)
==================================================
sqlplus -s mdp/mdp
set MARKUP HTML ON HEAD <title>HadiSSH</title>
set pagesize 50000
select * from dual;
exit
==================================================
Receive : (with receive method)
==================================================
sqlplus -s mdp/mdp
set MARKUP HTML ON HEAD <title>HadiSSH</title>
set pagesize 50000
select * from dual;
exit
D - X $ <------- Result.
Re: SSH COM
Hadi,
Perhaps you could use Execute method?
The result of the Execute method should contain what you expect to receive, and removes it from buffer (so it isn't received in Received Event).
Regards,
Damba
Re: SSH COM
Hadi,
Perhaps you could use Execute method?
The result of the Execute method should contain what you expect to receive, and removes it from buffer (so it isn't received in Received Event).
Regards,
Damba
hi,
If I use the method Execute the Receive event will not function myself, how in this case there I can recover my results
Re: SSH COM
Hi Hadi,
What do you mean by Receive Event won't function?
Everything that is not received using the Execute method will be received in the Receive Event.
Regards,
Damba