Re: connection problems with ActiveX demo (General questions)
Here is my code:
ObjFTPSSH=Createobject( WeOnlyDo.wodFtpDLXCom.1 )
ObjFTPSSH.HostName = pc_host
ObjFTPSSH.Login = pc_usr
ObjFTPSSH.Password = pc_pwd
ObjFTPSSH.Port = 22
ObjFTPSSH.Blocking = .T.
ObjFTPSSH.Protocol = 1
ObjFTPSSH.Timeout = 60
pn_connect = ObjFTPSSH.Connect()
pc_lstdir = ObjFTPSSH.ListDir( / )
ObjFTPSSH.Disconnect
The values for pn_connect and pc_lstdir both return .Null. I expected that the first would return a numeric value and the second a string (even an empty string) value.
I have checked my host name, user name, and password, but I'm getting nothing at the moment.
You mention that you get 0 value, from where?
If you are referring to ErrorCode in for example
Connected Event that this mean that you don't
have error and successfully connect to your server.
As I said, I was expecting a 0 value from .Connect() if the connection had failed, but not a Null value.
Complete thread:
- connection problems with ActiveX demo - Patrick Rock, 2006-07-11, 22:47
- Re: connection problems with ActiveX demo - wodDrazen, 2006-07-11, 23:01
- Re: connection problems with ActiveX demo - wodSupport, 2006-07-11, 23:04
- Re: connection problems with ActiveX demo - Patrick Rock, 2006-07-11, 23:14
- Re: connection problems with ActiveX demo - wodDrazen, 2006-07-11, 23:43
- Re: connection problems with ActiveX demo - Patrick Rock, 2006-07-12, 18:00
- Re: connection problems with ActiveX demo - wodDrazen, 2006-07-11, 23:43
- Re: connection problems with ActiveX demo - Patrick Rock, 2006-07-11, 23:14
- Re: connection problems with ActiveX demo - wodSupport, 2006-07-11, 23:04
- Re: connection problems with ActiveX demo - wodDrazen, 2006-07-11, 23:01