VB.NET program hanging on Session.open
Hi,
I have an sftp program that is normally working fine but every few days it seems to get stuck where it just sits there doing nothing. It finally happened again while I had your logging on so I have included that along with a short snippet of the code as well at the bottom. Basically I write an entry to a log file before issuing the Session.Open command and then another entry after the Open command. When this happens it never writes the second log entry (even after many hours), almost like it never returned from Session.Open. Any suggestions would be appreciated.
VB.NET 2013
.NET Framework 4.5
Windows Server 2008 R2
WinSCP 5.7.3
Thanks,
Steve
I have an sftp program that is normally working fine but every few days it seems to get stuck where it just sits there doing nothing. It finally happened again while I had your logging on so I have included that along with a short snippet of the code as well at the bottom. Basically I write an entry to a log file before issuing the Session.Open command and then another entry after the Open command. When this happens it never writes the second log entry (even after many hours), almost like it never returned from Session.Open. Any suggestions would be appreciated.
VB.NET 2013
.NET Framework 4.5
Windows Server 2008 R2
WinSCP 5.7.3
Thanks,
Steve