Orphaned Sessions

Advertisement

knockando
Joined:
Posts:
14

Orphaned Sessions

I'm connecting to my host using the VB.NET example and occasionally I need to list the remote directory and then decided to run the get or not. I'm getting a ton of orphaned sessions for some reason. After reviewing the code is it neccesary to do .WriteLine("close") to terminate the session with the host or should ending the WinSCP .NET process take care of it?

Thanks!

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,441
Location:
Prague, Czechia

Re: Orphaned Sessions

knockando wrote:

After reviewing the code is it neccesary to do .WriteLine("close") to terminate the session with the host or should ending the WinSCP .NET process take care of it?
Ending the WinSCP process properly should close the session correctly. Note that WinSCP is not .Net application, but it should not make a difference for this purpose.

Reply with quote

Advertisement

You can post new topics in this forum