Error-----when trying to connect to a SFTP server with a private key and without password

Hi Everyone,

I have a private and public key in c drive

How to connect sftp server using uipath.ftp.activities.withftpsession??

I have provided the below details to the property

Username
hostname
portnumber
password as String.Empty
client certificate path ----passed the private key path

But I am getting invalid private key file error

Please some one help me out from this

@ovi

Please help me sir

@loginerror