Re: wodSFTP ActiveX with PrivateKey authentication (General questions)
Koo,
I'm sorry I didn't send you example yet - I'm out of town (vacation times...) and couldn't get my hands on Delphi at the moment. I hope I'll be able to do it middle of August.
About your code - assuming you got no errors, only thing I can think is that wodSFTP was destroyed while trying to connect. Did you declare it as local? If so, set Blocking = 1.
What kind of server are you connecting to? OpenSSH? If so, I suggest you telnet to the server (yes, telnet, not ssh, with some other client), stop SSH service, and start it in debug mode, with
sshd -ddd
command. This way you can see actual errors you're getting, and perhaps find some way out of it.
One more thing - seems that 'Connect' method is a reserved word in Delphi. Sometimes wodSFTP's Connect method will be renamed to Connect1 by Delphi wrappers. Can you check this? Perhaps you didn't initiate connection at all?
As for VB samples, there should be samples in Program Files\WeOnlyDo.Com\wodSFTP\Samples\XYZ, many of them, even for Delphi. Can you take a look?
Regards,
Kreso
Complete thread:
- wodSFTP ActiveX with PrivateKey authentication in - koo, 2004-07-27, 14:54
- Re: wodSFTP ActiveX with PrivateKey authentication - wodSupport, 2004-07-27, 15:17
- Re: wodSFTP ActiveX with PrivateKey authentication - koo, 2004-07-28, 03:16
- Re: wodSFTP ActiveX with PrivateKey authentication - wodSupport, 2004-07-29, 17:19
- Re: wodSFTP ActiveX with PrivateKey authentication - koo, 2004-07-30, 09:50
- Re: wodSFTP ActiveX with PrivateKey authentication - wodSupport, 2004-08-02, 03:31
- Re: wodSFTP ActiveX with PrivateKey authentication - koo, 2004-08-02, 05:50
- Re: wodSFTP ActiveX with PrivateKey authentication - wodSupport, 2004-08-11, 20:48
- Re: wodSFTP ActiveX with PrivateKey authentication - wodSupport, 2004-08-13, 22:26
- Re: wodSFTP ActiveX with PrivateKey authentication - davi_dk, 2005-11-10, 15:02
- Re: wodSFTP ActiveX with PrivateKey authentication - wodSupport, 2005-11-10, 16:25
- Re: wodSFTP ActiveX with PrivateKey authentication - davi_dk, 2005-11-10, 15:02
- Re: wodSFTP ActiveX with PrivateKey authentication - wodSupport, 2004-08-13, 22:26
- Re: wodSFTP ActiveX with PrivateKey authentication - wodSupport, 2004-08-11, 20:48
- Re: wodSFTP ActiveX with PrivateKey authentication - koo, 2004-08-02, 05:50
- Re: wodSFTP ActiveX with PrivateKey authentication - wodSupport, 2004-08-02, 03:31
- Re: wodSFTP ActiveX with PrivateKey authentication - koo, 2004-07-30, 09:50
- Re: wodSFTP ActiveX with PrivateKey authentication - wodSupport, 2004-07-29, 17:19
- Re: wodSFTP ActiveX with PrivateKey authentication - koo, 2004-07-28, 03:16
- Re: wodSFTP ActiveX with PrivateKey authentication - wodSupport, 2004-07-27, 15:17