Close open session and controlled destruction of object
Hi,
i have tested the .Net (VS2010) and Com(VB6) library and i am amazed of the offered functions, especially the function SyxnchronizeDirectories. After playing a while i have faced the problem that the object does not close the connection automatically, the error message
Server sent disconnect message
type 11 (by application):
"This session would exceed your concurrent session limit. Please disconnect one or more of your existing sessions and try again."
is thrown while trying to connect. I have not found a function or method to disconnect the session. Please help.
The second problem i have is, that with VB6 the WinSCP.exe remains alive even after closing the VB6-IDE. I need to know how to destroy the object after using it. I have enclosed a little screen shot from the process explorer.
i have tested the .Net (VS2010) and Com(VB6) library and i am amazed of the offered functions, especially the function SyxnchronizeDirectories. After playing a while i have faced the problem that the object does not close the connection automatically, the error message
Server sent disconnect message
type 11 (by application):
"This session would exceed your concurrent session limit. Please disconnect one or more of your existing sessions and try again."
is thrown while trying to connect. I have not found a function or method to disconnect the session. Please help.
The second problem i have is, that with VB6 the WinSCP.exe remains alive even after closing the VB6-IDE. I need to know how to destroy the object after using it. I have enclosed a little screen shot from the process explorer.