Keys not loaded or generated (wodSFTP / wodSFTP.NET / wodSFTPdll)
Trying to connect to a difficult SFTP server. They say their server doesn't work with WinSCP and a few other common clients, and doesn't work with PuTTy...it works with CUTE FTP and others...
I used wodKeys to make a DSA key pair. They said the public key has to use OpenSSH, so I used wodKeys.PublicKeyOpenSSH and they accepted the key.
I am able to Connect to the server, but when I try PUT a Test.txt file, I get error "Keys not loaded or generated".
Dim wodKeys As Keys
Set wodKeys = New Keys
wodSFTP.Authentication = authPubkey
wodSFTP.PrivateKey = wodKeys
wodSFTP.HostName = HOST_NAME
wodSFTP.Login = LOGIN
wodSFTP.Blocking = True 'Use synchronous connections
wodSFTP.PutFile "D:\\Test.txt" 'ERROR OCCURS HERE
- Keys not loaded or generated - BenGl, 2019-08-09, 21:21