I have a .NET process that runs each morning to transfer some data files from some SFTP servers to other SFTP servers. The entire process takes 15-30 minutes to run depending on the load day to day and some sessions can sit idle for many minutes at a time between uploads. Previously I used Renci.Ssh the SFTP connections and never had this issue with these hosts, but as I needed to support FTP protocol I switched everything to the WinSCP assembly. I am now experiencing timeouts with this error
I have tried withRemote side sent disconnect message type 11 (by application): "FlowSshPacketDecoder: unresponsiveness timeout"
PingType="2"and am still seeing this error.
What can I do to resolve this? Thanks.