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

Author Message
calswart

Guest


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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
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
Advertisements

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License