Re: Session is already open
Had you actually needed to set the
https://winscp.net/eng/docs/library_session#executablepath
Session.ExecutablePath
, note that it should be set to a complete path to the WinSCP.exe
, not just to a path to the directory that contains it.
https://winscp.net/eng/docs/library_session#executablepath