Topic "Orphaned Sessions"

Author Message
knockando
[View user's profile]

Joined: 2010-11-04
Posts: 14
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!
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
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.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License