Please set Session.SessionLogPath
and Session.DebugLogPath
and attach both logs.
Hi,
ExecuteCommand (C#) returns below error when I suspend the Unix script (called in ExecuteCommand) on remote server using kill -SIGSTOP:
Error is WinSCP.SessionRemoteException: Terminated by user.
at WinSCP.SessionLogReader.Read(LogReadFlags flags)
at WinSCP.ElementLogReader.Read(LogReadFlags flags)
at WinSCP.SessionElementLogReader.Read(LogReadFlags flags)
at WinSCP.ElementLogReader.Read(LogReadFlags flags)
at WinSCP.ElementLogReader.ReadToEnd(LogReadFlags flags)
at WinSCP.Session.ExecuteCommand(String command)
Increasing Timeout did not help.
How can I keep the session open till I resume the script using kill -SIGCONT?
Thanks,
Gaurav