How to connect to another host without creating a new object

Advertisement

Thierry59
Joined:
Posts:
2
Location:
Lille, France

How to connect to another host without creating a new object

Hello all, this is my first post.

I had a look around to find a solution to this problem but I did not find the answer.

This is my pb :
I'm using WinSCP dll in .net visual studio 2008

I want to connect to 6 hosts and get files.

I first connect to the first host.
But I don't know how to close the session and re open a new one for the second host without creating a new object.

I hope that my explanation was clear enough ?

Has someone the solution for this kind of pb ?

WinSCP.Close() is not found in the methods I only have Dispose()

Reply with quote

Advertisement

You can post new topics in this forum