Using SSH control in a webpage (wodSSH / wodSSH.NET)
I am using a licensed copy of the ssh component in a web page usin the sample code as a base. It works fine from my machine (where the control was installed after we purchased it.)
If I access the web page from another computer, I get the error
Object doesn't support this property or method
The object is defined as
<OBJECT id=wodSSH1 style= LEFT: 0px; TOP: 0px data=data:application/x-oleobject;base64,ZLn1Cb/Im06p27zpMVH+HgADAAAIAAIAAAAAAAMAFwAAAAMAAQAAAAIAeAALAAAACAACAAAAAAAIAAIAAAAAAAgAAgAAAAAAAwAAAAAACAACAAAAAAADAAAAAAAIABQAAAAxADIANwAuADAALgAwAC4AMQAAAAsA//8=
classid=clsid:09F5B964-C8BF-4E9B-A9DB-BCE93151FE1E VIEWASTEXT></OBJECT>
The code is
CReturn = String.fromCharCode(13);
wodSSH1.LicenseKey = '####-####-####-####';
wodSSH1.Hostname = '137.150.248.205';
wodSSH1.Login = 'login';
wodSSH1.Password = 'Password';
wodSSH1.Blocking = true;
wodSSH1.Protocol = 4;
wodSSH1.Connect();
wodSSH1.Send('stuf'+ CReturn );
. . .
Complete thread:
- Using SSH control in a webpage - sah7001, 2007-11-02, 17:54
- Re: Using SSH control in a webpage - wodDamir, 2007-11-02, 18:14
- Re: Using SSH control in a webpage - sha7001, 2007-11-02, 18:33
- Re: Using SSH control in a webpage - wodDamir, 2007-11-02, 18:37
- Re: Using SSH control in a webpage - sha7001, 2007-11-02, 19:39
- Re: Using SSH control in a webpage - sha7001, 2007-11-02, 19:41
- Re: Using SSH control in a webpage - wodDamir, 2007-11-02, 20:01
- Re: Using SSH control in a webpage - sha7001, 2007-11-02, 20:27
- Re: Using SSH control in a webpage - wodDamir, 2007-11-02, 21:02
- Re: Using SSH control in a webpage - sha7001, 2007-11-02, 21:11
- Re: Using SSH control in a webpage - wodDamir, 2007-11-02, 21:17
- Re: Using SSH control in a webpage - sha7001, 2007-11-02, 23:26
- Re: Using SSH control in a webpage - wodDamir, 2007-11-02, 23:52
- Re: Using SSH control in a webpage - sha7001, 2007-11-02, 23:26
- Re: Using SSH control in a webpage - wodDamir, 2007-11-02, 21:17
- Re: Using SSH control in a webpage - sha7001, 2007-11-02, 21:11
- Re: Using SSH control in a webpage - wodDamir, 2007-11-02, 21:02
- Re: Using SSH control in a webpage - sha7001, 2007-11-02, 20:27
- Re: Using SSH control in a webpage - wodDamir, 2007-11-02, 20:01
- Re: Using SSH control in a webpage - sha7001, 2007-11-02, 19:41
- Re: Using SSH control in a webpage - sha7001, 2007-11-02, 19:39
- Re: Using SSH control in a webpage - wodDamir, 2007-11-02, 18:37
- Re: Using SSH control in a webpage - sha7001, 2007-11-02, 18:33
- Re: Using SSH control in a webpage - wodDamir, 2007-11-02, 18:14