Forum Discussion

mithun_laha's avatar
mithun_laha
New Contributor III
5 months ago
Solved

SFTP Connection with PPK file

Hi Everyone, Has anyone worked on establishing an SFTP connection in extensibility rules using a PPK file? I am currently facing an issue where, despite setting the SshPrivateKeyPath property in the...
  • mithun_laha's avatar
    mithun_laha
    12 days ago

    Hi Kamila,

    Could you please try the following in the SshPrivateKeyPath:

    sessionOptions.SshPrivateKeyPath = $"{BRApi.Utilities.GetFileShareFolder(si, FileShareFolderTypes.ApplicationRoot, Nothing)}\AppName\ppk_file.ppk"


    If the above does not work, could you also try adding the port number in the sessionOptions? 

    Best regards,
    Mithun