Session is already open
Hi there:
I am using C# to programmatically upload/download files to and SFTP site, but I have been receiving the error
If I set the
The error I get is
I am using C# to programmatically upload/download files to and SFTP site, but I have been receiving the error
Session is already open
session.DebugLogPath = @"C:\\DigitalPen\debug.log"; // Connect session.Open(sessionOptions); session.ExecutablePath = "C:\\Program Files (x86)\\WinSCP";
If I set the
ExecutablePath
property before the Open
method:
session.DebugLogPath = @"C:\\DigitalPen\debug.log"; session.ExecutablePath = "C:\\Program Files (x86)\\WinSCP"; // Connect session.Open(sessionOptions);
Please help!C:\Program Files (x86)\WinSCP does not exists.