Topic "Unable to use key file "C:/putty/calrsa.ppk" (unable to open"

Author Message


I have a putty ppk file that works in the graphical version of WinSCP but when I try to use it in a script I get the error Unable to use key file "C:/putty/calrsa.ppk" (unable to open file)
Why would the scripting version not be able to use the same file that the graphical version is using?
winscp version is 5.5.5
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24759
Location: Prague, Czechia
I'd guess that it's because the forward slashes in the path. You need to use backslashes in Windows path.
Martin Prikryl

You can post new topics in this forum

Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License