wodSSH & Executing & Delphi - WeOnlyDo Discussion board

wodSSH & Executing & Delphi (General questions)

by hamsterjack, Monday, December 05, 2005, 15:39 (6927 days ago)

Hi All

How to write Delphi code for execution the following command: cd/temp (wodSSH)

Thx in advance

HamsterJack

Re: wodSSH & Executing & Delphi

by wodSupport, Monday, December 05, 2005, 15:45 (6927 days ago) @ hamsterjack

Hamsterjack,

since I don't see what you expect as result of that command, why don't you use do wodSSh1.Send( cd /tmp#10 ).

My Delphi knowledge is limited - if I'm correct, #10 is actually LineFeed chr(10), right?

Re: wodSSH & Executing & Delphi

by hamsterjack, Tuesday, December 06, 2005, 10:27 (6926 days ago) @ wodSupport

Thx a lot - it works


HamsterJack