Re: wodSFTP/wodKeys problem (General questions)
So here's the new code fragment:
On Error Resume Next
Set SFTP1 = New wodSFTPCom
SFTP1.HostName = Text3.Text
SFTP1.Login = Text4.Text
'sftp1.password = not needed!!!!
SSHKeys.Load f:
ewprivatekeyputty.ppk
SFTP1.Authentication = authPubkey
SFTP1.PrivateKey = SSHKeys
SFTP1.Blocking = True
SFTP1.Connect
'Stop
If Err <> 0 Then
Text5.Text = Error: & Err.Description
Else
Text5.Text = Connecting...
End If
Stop
SFTP1.ListDir /
Same error, with Blocking on, a -1 .
Complete thread:
- wodSFTP/wodKeys problem - Steve, 2008-03-28, 14:55
- Re: wodSFTP/wodKeys problem - wodDamir, 2008-03-28, 14:59
- Re: wodSFTP/wodKeys problem - Steve, 2008-03-28, 15:09
- Re: wodSFTP/wodKeys problem - woddrazen, 2008-03-28, 15:16
- Re: wodSFTP/wodKeys problem - woddrazen, 2008-03-28, 15:18
- Re: wodSFTP/wodKeys problem - Steve, 2008-03-28, 15:20
- Re: wodSFTP/wodKeys problem - Steve, 2008-03-28, 15:29
- Re: wodSFTP/wodKeys problem - woddrazen, 2008-03-28, 15:36
- Re: wodSFTP/wodKeys problem - Steve, 2008-03-28, 15:55
- Re: wodSFTP/wodKeys problem - woddrazen, 2008-03-28, 16:21
- Re: wodSFTP/wodKeys problem - Steve, 2008-03-28, 15:55
- Re: wodSFTP/wodKeys problem - woddrazen, 2008-03-28, 15:36
- Re: wodSFTP/wodKeys problem - Steve, 2008-03-28, 15:29
- Re: wodSFTP/wodKeys problem - Steve, 2008-03-28, 15:20
- Re: wodSFTP/wodKeys problem - woddrazen, 2008-03-28, 15:18
- Re: wodSFTP/wodKeys problem - woddrazen, 2008-03-28, 15:16
- Re: wodSFTP/wodKeys problem - Steve, 2008-03-28, 15:09
- Re: wodSFTP/wodKeys problem - wodDamir, 2008-03-28, 14:59