Re: wodSFTP/wodKeys problem (General questions)
I created a simple project with just this code:
Option Explicit
Dim Keys As WODSSHKeyLib.Keys
Dim WithEvents SFTP1 As wodSFTPCom
Private Sub Form_Load()
Dim Key As Keys
Set SFTP1 = New wodSFTPCom
Set Key = New Keys
Key.Load f:newprivatekeyputty.ppk
SFTP1.HostName = hba-barr-cbas
SFTP1.Authentication = authPubkey
SFTP1.Login = sshuser
SFTP1.PrivateKey = Key
SFTP1.Blocking = True
SFTP1.Connect
Debug.Print SFTP1.StateText
Stop
End Sub
Same error, -1