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
wodKeys.Load PRIVATE_KEY_PATH
wodSFTP.Authentication = authPubkey
wodSFTP.PrivateKey = wodKeys
wodSFTP.HostName = HOST_NAME
wodSFTP.Login = LOGIN
wodSFTP.Blocking = True 'Use synchronous connections
wodSFTP.Connect
wodSFTP.PutFile "D:\\Test.txt" 'ERROR OCCURS HERE
wodSFTP.Disconnect
Complete thread:
- Keys not loaded or generated - BenGl, 2019-08-09, 21:21
- Keys not loaded or generated - wodSupport, 2019-08-10, 16:50
- Keys not loaded or generated - BenGl, 2019-08-10, 17:12
- Keys not loaded or generated - wodSupport, 2019-08-10, 17:13
- Keys not loaded or generated - BenGl, 2019-08-10, 17:48
- Keys not loaded or generated - BenGl, 2019-08-12, 17:55
- Keys not loaded or generated - BenGl, 2019-08-10, 17:48
- Keys not loaded or generated - wodSupport, 2019-08-10, 17:13
- Keys not loaded or generated - BenGl, 2019-08-10, 17:12
- Keys not loaded or generated - wodSupport, 2019-08-10, 16:50