Network error: Permission denied when open a session.
Hi all,
I'm using provided example: https://winscp.net/eng/docs/library_session_getfiles#example
Code is compiled with .NET 4.8.1, and WinSCPnet.dll version 6.3.2.0.
Executed on a Windows Server 2022.
In
When try to connect and call
Thank you in advanced!
Best regards
Gérard
I'm using provided example: https://winscp.net/eng/docs/library_session_getfiles#example
Code is compiled with .NET 4.8.1, and WinSCPnet.dll version 6.3.2.0.
Executed on a Windows Server 2022.
In
SessionOptions
I can use either password (ie: Password = "mypassword"
) or a private key (ie: SshPrivateKeyPath = "C:\\Temp\\mytestkey.ppk"
).
When try to connect and call
session.Open(sessionOptions)
; I get this error:
Any idea what's the issue?Network error: Permission denied
Thank you in advanced!
Best regards
Gérard