Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

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.
knockando

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!