I am trying to automatically download files and delete them after the download.
But when I run it keeps asking me for password.
There is no password on the SFTP server and it works with WinSCP client.
My script looks like this:
You have specified no private key in the script.. 2018-02-22 15:14:15.141 User name: ei000740 (Password: No, Key file: Yes, Passphrase: No)
. 2018-02-22 15:14:15.441 Reading key file "C:\Users\nemits\Desktop\Cert\IU_Private.ppk"
. 2018-02-22 15:14:15.512 Offered public key
. 2018-02-22 15:14:15.521 Offer of public key accepted
! 2018-02-22 15:14:15.521 Authenticating with public key "rsa-key-20180209"
. 2018-02-22 15:14:15.673 Sent public key signature
. 2018-02-22 15:14:15.677 Access granted
You can post new topics in this forum