Re: Error: Timeout waiting for WinSCP to respond
Problem was on the other side, thanks. You can delete this.
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
Session.SessionLogPath
and Session.DebugLogPath
and post both logs.
$session.Timeout = New-TimeSpan -Minutes 20
$sessionOptions = New-Object WinSCP.SessionOptions -Property @{
...
Timeout = New-TimeSpan -Minutes 10
}
. 2021-10-01 16:27:57.224 Sending null packet to keep session alive.
. 2021-10-01 16:27:57.224 Sending special code: 3
. 2021-10-01 16:28:17.594 Sending null packet to keep session alive.
. 2021-10-01 16:28:17.594 Sending special code: 3